Example Page Layout
<HTML> <HEAD> <TITLE>Page Title</TITLE> </HEAD> <BODY> Content of your <B>PAGE</B> </BODY> </HTML>
Tags
<TAGNAME TAGOPTION="SETTING">Text</TAGNAME>
Example
<B>Test</B>Test
Options for all Tags
id
Used to style with CSS. Can only be used on the page once.
class
Used to style with CSS. Can be used on the page multiple times.
All Tags
HTML
Tag that contains the entire HTML page.
HEAD
Tag that contains the settings for the page, like the title.
TITLE
Sets the title of the page, for the title bar in the browser.
<TITLE>Title of your page.</TITLE>
LINK
Tell your HTML page where to find your CSS stylesheet.
<LINK REL="STYLESHEET" HREF="style.css">
BODY
Tag that contains the entire content of the HTML page.
H1-H6
Headers.
<H1>Header 1</H1> <H2>Header 2</H2> <H3>Header 3</H3> <H4>Header 4</H4> <H5>Header 5</H5> <H6>Header 6</H6>
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
A
Link to other websites/webpages.
<A HREF="https://google.com">Google</A>Google
B
Bold text.
<B>Bold Text</B>Bold Text
I
Italic text.
<I>Italic Text</I>Italic Text
U
Underline text.
<U>Underline Text</U>Underline Text
MARQUEE
Moving (scrolling) text.
<MARQUEE>Scrolling Text</MARQUEE>
IMG
Adds an image to the page.
<IMG SRC="name_of_file.png">
CENTER
Centres text on the page.
<CENTER>Centred Text</CENTER>
DIV
Tag used for CSS styling.
<DIV> Test. </DIV>
SPAN
Tag used for CSS styling.
<SPAN>Test</SPAN>
P
Paragraph tag.
<P> Test. </P>
Old Version