Friday, February 19, 2021

html dictionary:html doctype

 Keywords: html, html doctype, what is html doctype, doctype declaration,document type html, html document type, document type code, document type declaration


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

   "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.

It must only appear once, at the top of the page (before any HTML tags).

The <!DOCTYPE> declaration is not case sensitive.

The <!DOCTYPE> declaration for HTML5 is:

<!DOCTYPE html>

No comments:

Post a Comment