Doctypes in HTML 5 Tells browsers to understand the version of HTML. The document is written in for better interpretability.

The declaration should always be included at the top of the HTML document file, before  Write <html> tag.

HTML 5 Doctype declaration:

<!DOCTYPE html>

HTML 5 Doctype Example:

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML 5 Doctype declaration</title>
       <h1> HTML 5 Doctype declaration</h1> 
Html Doctype Example

Currently Every Code Editor Like Vs code, Atom, Notepad++and other Code Editor. By Default With Shortcut key, add Doctype Html5 code  on your File.

In Vs Code Editor For Html 5 Doctype Shortcut key ! , Type In Your File Vs Code Emmit Abbreviations Automatic Add Html Doctype Example code on your file.

Contact me