Hypertext Markup Language Helper
Every time I needed to re-learn html, I searched the whole web for places to look up the various tags. Dreamweaver does not do all for me. A calculator is only as good as the person who uses it. Sometimes I waste more time clicking on where I need to go in Dreamweaver than to just type in the tags myself. So, this page is created to list some of the common tags, for whoever wants to read it. This page doesn't have much. There are tons of html resources out there, so I have no interest in adding another fully developed one. This is for me, in case I leave this website for a few years, and come back to relearn HTML.
Basic Structure of a Page
Head
Body
About all that is needed in the header has been described above, and what follows pertain only to the body unless otherwise stated. ParagraphsThis makes a new paragraph<p>here. (Although a paragraph may be ended with </p>, it is not required, and I never bother to do that when writing in Notepad.)
This makes a<br>new line, without skipping a line in between.
This makes a<hr>horizontal rule. Note that you can adjust its width and its alignment by adding in extra width and align tags inside the <>.
TextHeadingThere are 6 sizes for headings, 1 being the largest and 6 being the smallest. <h1>This is a heading of size 1.</h1> Personally I don't really understand why would anyone want a heading 6, but it's there. Fonts<b>This is bold.</b>
<i>This is italicized.</i>
<s>This is strikethrough.</s>
<u>This is underline.</u>
<font name="a">Changes font to the font called a.</font> <font size="5">Font is size 5.</font> (There are 7 sizes, with 7 being large and 1 being small.)
<font color="a">Changes font to the color a.</font> Variable a can be color name or #RRGGBB. <blockquote>Makes blockquote, indents a paragraph.</blockquote> <tt>Makes teletype.</tt> Makes <sup>superscript.</sup>
Makes <sub>subscript.</sub>
Scrolling Marquee<marquee behavior=type direction=value loop=value scrollamount=value scrolldelay=value>The text to scroll</marquee>
Comments<!-- Comment here --> Comments are for your own reference. Visitors won't see them unless they look at source.
Links<a href="url">Description of link</a>
Anchors: <a name="anchor-name">Anchor place</a> Call url#anchor-name to take visitor to that page and to that anchor. My lyrics page has many examples of anchors. Images<img src="url of graphic" alt="description of image">
Lists<ul>This makes an unordered list. Each item begins with <li>, and the list ends with </ul>.
<ol>This makes an ordered list. Each item begins with <li>, and the list ends with </ol>.
<dl>This is a definition list.</dl> Use <dt> for definition-list term, and use <dd> for definition-list definition.
|
(1,1) | (1,2) |
(2,1) | (2,2) |
(3,1) | (3,2) |
There are 4 main attributes inside the table tag, all of which are self-explanatory.
The width can also be set for individual cells. Different backgrounds can be set for the cells inside the table. Adding colspan or rowspan attributes also lets a cell span multiple columns or rows.
Also note that you can ajust the alignment of the table, the cells in the table, the background color/image of the cells, and the color of the table border. Also note that you can nest tables.
They have no human-centered design, but here they are:
In IE:
<script>alert ('Content in alert.')</script>
In Netscape:
<script language="JavaScript">
(window.alert("Content in alert."))
</script>
You can also add in an alert onClick within a link. Just put it inside the <a>.
<embed src="location of music" width="300" height="50" control="smallconsole" autostart="true" loop="true" autoreplay="true" type=audio/x-pn-realaudio-plugin exts=ra, ram init fn=load-types mime-types=mime.types>
Parameters left out will be automatically filled in with default values.
A simpler one is <bgsound src="songlocation.mp3" Loop="infinite" AUTOSTART="true">.