html "tags" are written commands to a computer to perform certain functions. For basic documents you will need very few commands, for example:
In the absence of word processing programs, your computer simply would not know what to do and your text would continue endlessly. So, we must give it the commands that will make your document appear in the format you want. |
To add to the confusion, some things are browser sensitive (usually because they were developed by another browser) so it is important to know what will work in your browser. For example, neat things like marquees, color codes for horizontal rules or table borders, and music may not work in all browsers.
Upper and Lower Case Tags are not case sensitive so either caps or small letters can be used. However, since all browsers do not react the same way, it is good practice to use small letters.
Blank Spaces html does not recognize space. For instance, if you type in your html code: Hello. My name is Jumpy, it will still show on the page like this: Hello. My name is Jumpy.
|
Several tags can be used together. It does not matter what order you put the tags in but, when closing, the first tag used is the last tag closed. For example, if we want to center the text, and underline it, we would use:
If we wanted to make the sentence bold and two times larger we would add.
|
To add two images side by side the code is:
To align your image to the left (or right) the code is:
|
If you want the music to play over and over add:
Note though that playing music is risky. Firstly, although you might like the music - not everyone has your taste and may "click off" because of it. Secondly, playing the same song over and over can get annoying. Your viewer does have the option of turning off his sound but you again run the risk of them just leaving your page because of it. |
No comments:
Post a Comment