HTML document

HTML documents are also called web pages. HTML documents contain HTML tags and plain text. The role of a web browser is to read HTML documents and display them in the form of web pages. The browser does not display HTML tags (equivalent to hidden format descriptions), but uses tags to explain the content of the page:

Let’s take a look at the corresponding explanation in detail:

<html>
    <body>
        <h1>First Heading</h1>
         <p>first paragraph</p>
    </body>
</html>

The text between < html> and < /html> describes the page. The text between < body> and < /body> is visible. The text between < h1> and < /h1> is visible. Text between < p> and < /p> is displayed as a paragraph

Continuing Learning
||
<html> <body> <h1>First Heading</h1> <p>first paragraph</p> </body> </html>
submitReset Code