Computer Science, asked by gulambasha276, 2 months ago

Write a HTML coding for Headings tags of HTML.​

Answers

Answered by kamdarbansh0001
1

Answer:-

<!DOCTYPE html>

<html>

<head>

<title>My first Web Page</title>

</head>

<body bgcolor="red">

<h1>Write Your Name</h1>

</body>

</html>

Explanation:-Here doctype is the latest version of html5.The title is shown on the top of your web page so is used title tag.In body tag all the attributes which is used to design your website are used ,I used the attribute bgcolor that means backgroundcolor for the webpages. h1 is the largest heading tag and h6 is the smallest heading tag

I hope this will help you

Plz try it and run the output

Answered by VISHALKUMARV22
3

Answer:

There are six different HTML headings which are defined with the <h1> to <h6> tags, from highest level h1 (main heading) to the least level h6 (least important heading).

Example: >>>>>>>>

<!DOCTYPE html>

<html>

<head> </head>

<body>

<h1>Heading 1 </h1>

<h2>Heading 2 </h2>

<h3>Heading 3 </h3>

<h4>Heading 4 </h4>

<h5>Heading 5 </h5>

<h6>Heading 6 </h6>

</body>

</html>

Similar questions