The <!DOCTYPE> declaration specifies the document type and assists browsers in rendering web pages accurately.
It should appear only once, at the beginning of the page (prior to any HTML tags).
The <!DOCTYPE> declaration is not sensitive to letter case.
The <!DOCTYPE> declaration for HTML5 is as follows:
<!DOCTYPE html> |