Computer Science, asked by vaishnavi9489, 10 months ago

15 html programs.......... ​

Answers

Answered by Anonymous
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 Anonymous
1

Your First 10 HTML Tags.

  1. <html> … </html> — The root element. All web pages start with the html element. ...
  2. <head> … </head> — The document head. ...
  3. <title> … </title> — The page title. ...
  4. <body> … </body> — The page's content. ...
  5. <h1> … </h1> — A section heading. ...
  6. <p> … </p> — A paragraph. ...
  7. <a> … </a> — A link. ...
  8. <img> — An image.
Similar questions