HTML ATTRIBUTE TAGS
|
HTML ATTRIBUTE TAGS |
HTML tag attributes is very important in HTML language by tag attributes we can arrange our paragraphs and body statements. examples are following.
HTML BASIC TAG
<html>
<head>
<title>
</title>
<body >
<body>
</head>
</html>
For example now we want to write any paragraph in body of HTML tags.
<html>
<head>
<title>
website
</title>
<body >
this is my first website
<body>
</head>
</html>
when you show it on internet browser than only "This is my first website"will be shown, but in lift side corner of the website and now we will apply HTML tag attribute.
1. Centre attribute
for example we want to see "This is my first website" in middle of the website than we will apply following attribute tag.
<html>
<head>
<title>
website
</title>
<body >
<p align="centre"> this is my first website</p>
<body>
</head>
</html>
After applying this attribute our text "This is my first website" will be show on centre in the website.
2. Right side Attribute Tag
for example.
<html>
<head>
<title>
website
</title>
<body >
<p align="right"> this is my first website</p>
<body>
</head>
</html>
After applying this attribute our text "This is my first website" will be show on right in the website.
3. Lift side attribute Tag
<html>
<head>
<title>
website
</title>
<body >
<p align="lift"> this is my first website</p>
<body>
</head>
</html>
After applying this attribute on our text "This is my first website" will be shown on left in the website.
Tidak ada komentar