#doctype
- 1. It is document type declaration.
- 2. <!DOCTYPE> is a declaration in HTML that specifies the version of HTML used in a web page.
- 3. It is not an HTML tag.
- 4. The <!DOCTYPE> declaration must be the very first line of an HTML document, before the <html> tag.
- 5. It is important to include the correct <!DOCTYPE> declaration in an HTML document, as it can affect how the document is rendered in different web browsers.
- 6. The HTML5 doctype declaration is:<!DOCTYPE html>
- 7. In the case of HTML5, the doctype declaration is very simple and concise, and it replaces the longer, more complex doctype declarations that were used in previous versions of HTML.