Write HTML code to add a heading to the paragraph with the text "Pakistan"
Answers
Answer:
Headings are defined with the <h1> to <h6> tags.
and the code of add the heading is
<HTML>
<HEAD>
</HEAD>
<BODY>
<H1> Pakistan </H1>
<p>..............</p>
</BODY>
</HTML>
I hope this helped
Answer:
The correct answer to the given question is:
Heading tag will be used to add the heading "Pakistan" in a paragraph. The code and explanation for the same are given below.
Explanation:
<HTML>
<HEAD>
</HEAD>
<BODY>
<H1> Pakistan </H1>
<p>.....paragraph.....</p>
</BODY>
</HTML>
Heading tags in HTML, also known as header tags, are used to differentiate titles and subtitles on a web page. They are ranked according to importance, from H1 to H6, where H1 is usually the title. Header tags improve the readability and SEO of your web pages. Although these tags are called "header tags", the "H" in H1, H2, etc. officially stands for "header element". The number represents each hierarchical relationship (most important H1, less important H2, etc.).
The header tag should be used as the main heading, followed by the header tag, then the less critical header tag, and so on.
#SPJ2