Basic html Tags
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.
<center> to center your text or images on the page. Deprecated. <p align="center"> is replacing <center>.)
<p align="left"> to align your text or images to the left. "right" is substituted to align to the right. "center" can also be indicated with this tag.
<p align="justify"> to full justify your text.
<br> to force a line break.
<p> to start a new paragraph.
<i> for italics.(Deprecated. <em> is replacing <i>.)
<b>to bold your text. (Deprecated. <strong> is replacing <b>.)
<u> to underline your text. (Deprecated) Underlining text or headings for emphasis should be avoided as most web surfers now recognize underlining as being a link. Use bold or italics instead.
<big> to increase the font size. To increase the size even more add another tag as in <big><big>. (Deprecated. Font size and weight are replacing <big>.)
<hr> to add a horizontal rule.
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.
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. |