This is how a basic html code looks:
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Things between the <html> and </html> tags constitute the instructions to the browser.
Items within the <body> and </body> define the appearance of a webpage.
<h1>Is the heading tag</h1>
<p>contains a paragraph</p>.
OUTPUT:
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Things between the <html> and </html> tags constitute the instructions to the browser.
Items within the <body> and </body> define the appearance of a webpage.
<h1>Is the heading tag</h1>
<p>contains a paragraph</p>.
OUTPUT:
No comments:
Post a Comment