Horje
Omitting <head>

The HTML <head> tag can also be omitted.

Browsers will add all elements before <body>, to a default <head> element.


Example of Omitting HEAD

index.html
Example: HTML
<!DOCTYPE html>
<html>
<title>Page Title</title>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Output should be:

Example of Omitting HEAD

However, we recommend using the <head> tag.





Category:
Web Tutorial
Sub Category:
HTML Style Guide
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference