create a web page on ’myself’ using the <body> tag and its attributes.
Answers
The body tag defines the document's body.
It is defined as <body>.
It contains elements like headings, paragraphs, images, hyperlinks, tables, lists, etc.
Explanation:
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<h1>My name is ABC</h1>
<p> My name is abc, I'm form Ahmednagar, Maharashtra. I'm a CS engineer as a Profession. I love to read books and listen songs.</p>
<img src="D:/images/mypic.jpg" alt="My pic" width="500" height="600">
<h> My Favourite music/<h>
<ul>
<li>Bollywood</li>
<li>Retro</li>
<li>Classical</li>
</ul>
<h> My favourite books</h>
<ol>
<li>Three mistakes in my Life.</li>
<li>Girl in room no. 105.</li>
<li>13 Reasons why</li>
</ol>
<a href="https://www.facebook.com/abc/">Visit my facebook account stay connected!</a>
</body>
</html>
The answer is:
Explanation:
<!DOCTYPE html>
<html>
<body>
<h3 align = "Left"> MySelf</h3>
<ol>
<li> My name is <b> Neha </b> <br></li>
<li>I am from <b> Meerut </b> <br></li>
<li>I am 14 years old <br></li>
<li>My father is an advocate <br></li>
<li>My Mother is a teacher <br></li>
<li>I have 2 siblings<br></li>
</ol>
</body>
</html>