Big Stock Photo.com

Stock Photos, Royalty Free Stock Photography, Photo Search

Search

Google
 

Thursday, January 3, 2008

Learning Basic HTML Code

By Lonnie Niver

I know I have already posted information about Learning Basic HTML, but I need to add some detail information Malcolm missed in his posting below. I am not saying he did anything wrong he just left out some minor detail I would like to add. I am also going to touch on a little of the XHTML Malcolm mentioned.

As you notice in Malcolm’s code on his webpage each code are in brackets like

 <html>
. These tags are called open tags. If you open a tag you must also close the tag. If the tag is not closed the code will more than likely not work. The correct way to close a tag is to add a / which is shown like this
</html>
.

Not all tags have to be closed but the majority does. One example of a tag that does not have to be closed is

<br>
. This tag allows the webmaster to go to the next line when writing code. This is similar to hitting enter when writing a paper in word and you want to go to the next line. Now, if you want to make a new paragraph then you would use the
<p>
tag and close it with
</p>
.

The XHTML that Malcolm mentioned is the newest way of writing code. Each code has to be closed so no mistakes are made in writing code. In fact, XHTML is a much cleaner code and if it is well written it will allow more web pages accessible to large audience than pages written in HTML. Not only is it cleaner, it has also shown a significant growth in search engine placement for web page written in XHTML.

Well that is about all I have to say! If you like the information provided please leave a quick comment. Thank you!

Royalty-Free Photos

Find quality royalty-free photos
at Paragon Grafix.com

No comments:

Amazines.com - Recent articles about Website Design