Heading tags are used to increase or decrease the text size. "h" is used to represent the tag. The range of "h" is h1 to h6.h1 is used for large size and h6 is used for small size.
A simple program with < h > tag:
A simple program with < h > tag:
< html >
< head >
< title > HTML < /title >
< /head >
< body >
< h1 >Hello ! < /h1 >
< h2 >Hello ! < /h2 >
< h3 >Hello ! < /h3 >
< h4 >Hello ! < /h4 >
< h5 >Hello ! < /h5 >
< h6 >Hello ! < /h6 >
< /body >
< /html >
OUTPUT OF THE PROGRAM:
No comments:
Post a Comment