DLiteracy.org Learning Digitally
                                                   home example news

HTML Commands (Tags)

HTML uses commands to create a Web page. Commands are read from top to bottom and left to right. If you want a line of text to be bold, you will put a tag at the exact point you want the bold lettering to start and another tag where you want the bold lettering to stop.

Commands begin with a less-than sign: < and end with a greater-than sign: >. These signs are called tags.

The / is used to turn off the command.

What goes inside the < and > is the command. Once a command has been turned on it will be in affect until it is turned off. The commands you write inside of the tags will not show up on your web page. You can write commands in both capital and lower case letters, but it is best if you write with capital letters because it makes it easier to edit your work.

Commands that will be on every page you write.

<html> This is the first command used in all pages. It tells the browser that the page is an HTML document.

<head> Contains important information about the page this is needed by the internet.

<title> Title bar information. This information will show up at the top of the browser window.

</title> Turn off the title.

</head> Turn off the head.

<body> This is where you write your code.

</body> This command is the second to last command of your page.

</html> This is the final command of the page.











Back
Copyright © 2004