15 html programs..........
Answers
Answered by
2
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<a href="https://www.w3schools.com">This is a link</a>
<img src="img_girl.jpg">and
<img src="img_girl.jpg" width="500" height="600">
<p style="color:red">This is a paragraph.</p>
<p title="I'm a tooltip">
This is a paragraph.
</p>
<a href="https://www.w3schools.com">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/styles.css">
<title> Example is Body Section Elements </title>
</head>
<body>
<!-- Body Part -->
<p> This is Body Section </p>
<a href="html-basic.php"> goto HTML Index Page </a>
</body>
</html>
Attachments:
Answered by
1
Your First 10 HTML Tags.
- <html> … </html> — The root element. All web pages start with the html element. ...
- <head> … </head> — The document head. ...
- <title> … </title> — The page title. ...
- <body> … </body> — The page's content. ...
- <h1> … </h1> — A section heading. ...
- <p> … </p> — A paragraph. ...
- <a> … </a> — A link. ...
- <img> — An image.
Similar questions