Posted On: Mar 17, 2020
You will always see a <!DOCTYPE html> declaration that often comes before the HTML tag, <html> in a HTML document. We use the doctype in HTML to alert the Web browser such as Chrome, Firefox, and others about the HTML version currently used in the document. HTML has different versions such as XHTML 1.0 Strict, HTML 4.01 Strict, XHTML 1.1, XHTML 1.0 Transitional, HTML 4.01 Frameset and others. Thus make it vital to inform the browser used while coding.
Never Miss an Articles from us.