HTML tutorial
Hyper Taxt Markup Language (HTML) is important for every kind of website.
Now I show that how HTML work:
We use notepadfor practices HTML.
When we start HTML we must use ‘< ’
Main code:
<html> (start)
</html> (finish)
/ important for finish.
<html> (start)
<body>
(We write here something)
</body>
</html> (finish)
*** Now we show how to define Header in HTML code
<html>
<body>
<h1> This is a heading.</h1>
<h2> This is a heading.</h2>
<h3> This is a heading.</h3>
</body>
</html>
Now we know that how to create a paragraph in HTML. That means the paragraph of the sentence. It starting code is <p> and end code is </p>.
<html>
<body>
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>
</body>
</html>
HTML formatting : HTML Tutorial – 03
We discuses now about the formatting of HTML code. Now we know that how to changes in text format. The Bold, Italic and Underline format.
<b> (For Bold Tag) </b>
<i> (For Italic Tag) </i>
Now we know the font size, font and the color of the text. How to we change is show in down:
<html>
<body>
<p>
<font size="7" face="arial" color="red">
This paragraph is in Arial, size 7, and in red text color.
</font>
</p>
<p>
<font size="3" face="verdana" color="blue">
This paragraph is in Verdana, size 3, and in blue text color.
</font>
</p>
</body>
</html>
0 comments:
Post a Comment