DOCTYPEmerkintä
The DOCTYPE declaration, often referred to as DOCTYPE statement or DOCTYPE tag, is a special instruction that must be placed at the very beginning of an HTML or XHTML document. Its primary purpose is to inform the web browser about the version of HTML or XHTML the page is written in, and consequently, which rendering mode the browser should use.
By specifying the DOCTYPE, developers guide the browser to interpret and render the HTML code consistently
The most common DOCTYPE for modern HTML5 is very simple: <!DOCTYPE html>. This declaration indicates that the
In summary, the DOCTYPE declaration is a vital component of web document structure. It ensures that web