doctype to html5 code example Example 1: doctype html <!DOCTYPE html> This tag shows that it is running HTML5 Example 2: <!DOCTYPE html>