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