HTML
Basic Structure of Html
<html>
<head>
<title>
</title>
</head>
<body>
</body>
</html>
Example Of Basic Html Coding
<html>
<title>
Basic Html Coding
</title>
</head>
<body>
Example of Basic Html Coding
</body>
</html>
Output
· * Background
<body background=”Url of Image”>
For Example
<html>
<head>
<title>
</title>Example of Body Background
</head>
<body background =”C:\Users\win 7\Desktop\1.jpg">
</body>
</html>
* Background Color
<body bgcolor ="red">
* Link Color
<body link ="name of color">
<body alink ="name of color"> It is show color only when we click the link
<body vlink ="name of color">It is show color only when we visited the link
* Margin
<body leftmargin ="enter the value">
<body topmargin ="enter the value">
Some Important Tag
* Spacing :
*Break the line : <br>
*Paragraph : <p>Enter the text here </p>
For Example:-
<head>
<title>Some important tag
</title>
</head>
<body>
<p>
This is the Example of <br>some important tag
</p>
</body>
</html>
Physical Style
* Bold the text : <b>Write the Text Here</b>
* Italic the text: <i> Write the Text Here
</i>
* Underline the text: <u> Write the Text Here </u>
* Teletype the text :
<tt> Write the Text Here </tt>
For Example:
* Align : <hr align=”Write
the align here”>
* Align are : Center , Right
, Left
* Width: <hr width=”Enter
the percentage Value”>
* Color: <hr color=”enter
the color”>
For Example
<html>
<head>
<title>
Example of Horizontal line Tag
</title>
</head>
<body>
<hr align="center" size="50" Width="50%" Color="red"><br>
<hr align="right" size="30" Width="30%" Color="green"><br>
<hr size="10" Width="100%" Color="Blue">
</body>
</html>
Nice information
ReplyDeleteGreat bro
DeleteNice information
ReplyDeleteNice information
ReplyDeleteThank you
ReplyDelete