html stands for Hyper-Text-Markup-Language.
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.
|
Unfortunately, now that we are just getting the "hang" of html, the W3C (World Wide Web Consortium) has started to deprecate (remove and/or replace) some of the html tags in favor of CSS (cascading style sheets).
In addition every tag <> must be closed </>. This means that eventually browsers will not recognize some of the html tags. However, it will be a very long time (if ever) before the deprecated tags are not recognized so at this time it is not a major concern.
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.
|
A tag is started by putting <> around it and closed by putting </> around it.
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.
|
The code for adding music to your page 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