Daily web design tips

Friday, February 10, 2006

What are html tags?

Tags makeup the HTML code [Define] that every web page on the Internet is made of. Tags define how a web page should look and what information it contains.

A tag looks like this <p>, every tag starts with < and ends with a >. The p tag we have just described is the tag to display a paragraph of text, so lets put some text in.

<p>Here is a paragraph of text that is displayed on a web page. You can put as much text in here as you like.

You also need to close every tag, which is easily done by putting this </p>, notice it is exactly the same as the open tag but with a / before the p. So a complete HTML tag looks like this.

<p>Here is a paragraph of text that is displayed on a web page. You can put as much text in here as you like. </p>

Learn more about HTML tags

0 Comments:

Post a Comment

<< Home