Pilgrim-Soul
21-07-2005, 08:02 PM
Useful HTML Tags
<html>
</html>
=
Creates a HTML document
<body>
</body>
=
Used to indicate that whatever is put between these tags should be made visible on screen.
<body bgcolor=yellow>
=
This sets the background colour to yellow. Try other colours.
<body text=silver>
=
This will make all of the text silver. Try other colours.
<h1>
</h1>
=
Creates a large headline. You can use numbers from 1-6. The higher the number, the smaller the headline.
<b>
</b>
=
Creates Bold text.
<i>
</i>
=
Creates Italic text
<font size=1>
</font size=1>
=
This sets the font size. You can use numbers from 1-7. The higher the number, the bigger the size font.
<font color=silver>
</font color=silver>
=
This sets the font colour to silver. Try other colours.
<font face=arial>
</font face=arial>
=
This will set the font size to Arial. Try other font styles.
<p>
</p>
=
Creates a new paragraph.
<br>
=
Creates a line break. This instruction is the same as pressing ENTER in MS Word.
<img src=“frog.jpg”>
=
This would add the picture of the frog into your web page. For this to work, you would of needed to SAVE the work into the same folder to where the web page is saved.
<img src=“frog.jpg” align=right>
=
This would add the picture of the frog and align it to the right of your web page. Try using left or center.
<img src=“frog.jpg” border=5>
=
This would put a border around the image. The higher the number, the thicker the border.
<a href=“http://www.yahoo.com”>Yahoo</a>
=
This would diplay the word Yahoo on screen and attach a hyperlink to www.yahoo.com.
<html>
</html>
=
Creates a HTML document
<body>
</body>
=
Used to indicate that whatever is put between these tags should be made visible on screen.
<body bgcolor=yellow>
=
This sets the background colour to yellow. Try other colours.
<body text=silver>
=
This will make all of the text silver. Try other colours.
<h1>
</h1>
=
Creates a large headline. You can use numbers from 1-6. The higher the number, the smaller the headline.
<b>
</b>
=
Creates Bold text.
<i>
</i>
=
Creates Italic text
<font size=1>
</font size=1>
=
This sets the font size. You can use numbers from 1-7. The higher the number, the bigger the size font.
<font color=silver>
</font color=silver>
=
This sets the font colour to silver. Try other colours.
<font face=arial>
</font face=arial>
=
This will set the font size to Arial. Try other font styles.
<p>
</p>
=
Creates a new paragraph.
<br>
=
Creates a line break. This instruction is the same as pressing ENTER in MS Word.
<img src=“frog.jpg”>
=
This would add the picture of the frog into your web page. For this to work, you would of needed to SAVE the work into the same folder to where the web page is saved.
<img src=“frog.jpg” align=right>
=
This would add the picture of the frog and align it to the right of your web page. Try using left or center.
<img src=“frog.jpg” border=5>
=
This would put a border around the image. The higher the number, the thicker the border.
<a href=“http://www.yahoo.com”>Yahoo</a>
=
This would diplay the word Yahoo on screen and attach a hyperlink to www.yahoo.com.