New Post

Heading Tag Function

Heading tags are tags that are used to create the title and content of an HTML document. 6 units heading tag has an number of 1, 2, 3, 4, 5, and 6. Masung respective numbers contained in heading tags used to represent the size of the heading tags. The first number is the largest size of a heading tag, while the last number in a heading tag is the smallest size. The syntax is as follows:

<hn [properti]>. . . . . . . . . </hn>

description:

- n is a number that consists of 1 to 6
- property is the ability possessed additional heading tags.

property used:

align = right arrangement headings [left, right, center]
<html>
<head>
<title> practice heading </title>
</head>
<body>
<h1 align="left"> Heading </h1>
<h2 align="left"> Heading </h1>
<h3 align="center"> Heading </h1>
<h4 align="right"> Heading </h1>
<h5 align="left"> Heading </h1>
<h6 align="right"> Heading </h1>
</body>
</html>


see in the browser

No comments:

Post a Comment

Ads

Popular Posts