Computer Applications
Centralized heading.
<HTML>
<BODY>
<H1 align = "center">This is heading 1</H1>
<P>The heading above is aligned to the center of this page. The heading above is aligned to the center of this page. The heading above is aligned to the center of this page.</P>
</BODY>
</HTML>
HTML Intro
2 Likes
Answer
Output

Answered By
2 Likes
Related Questions
HTML editor ignores your formatting.
<HTML> <BODY> <P> My Bonnie lies over the ocean. My Bonnie lies over the sea. My Bonnie lies over the ocean. Oh, bring back my Bonnie to me. </P> <P> Note that your browser simply ignores your formatting!</P> </BODY> </HTML>The heading tags.
<HTML> <BODY> <H1>This is heading 1</H1> <H2>This is heading 2</H2> <H3>This is heading 3</H3> <H4>This is heading 4</H4> <H5>This is heading 5</H5> <H6>This is heading 6</H6> <P>Use heading tags only for headings. Don't use them to make something big. Use other tags for that.</P> </BODY> </HTML>Defining and using a horizontal rule.
<HTML> <BODY> <P>The hr tag defines a horizontal rule:</P> <HR> <P>This is a paragraph</P> <HR> <P>This is a paragraph</P> <HR> <P>This is a paragraph</P> </BODY> </HTML>Comments in HTML source.
<HTML> <BODY> <!--This comment will not be displayed--> <P>This is a regular paragraph</P> </BODY> </HTML>