Skip navigation

hi its Deminb here again.  Today I’m going to teach you the basics of xHTML.  The basic format of an html site looks like this

<html>
<head>
<title></title>
</head>
<body>

</body>
</html>

Html consistes of opening tags and closing tags.  Opening tags are made up of two carrots(< >) and in the carrots you type in <body> or< head> or any other html tag.  Closing tags are made up of an opening carrot a slash and a closing carrot(</ >).  With the closing tag you finish the part of code you opened.  An example is </body>.  There needs to be symmetry, so if you start a code with <body> you need to end it with </body>.  Other tags include <p> which is a paragraph tag, <ul> which is an unordered list, <li> which makes a list, <br /> which breaks apart paragraphs and there are many more.  The break tag is a special tag because it closes itself hence the space between th br and slash.

Html is the building block of websites.  Every site is made up of html.

Here is an example of html codehtml

Visit the html wiki to learn more.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.