html tags
- Starting a html page
- Open a new NOTEPAD
- line 1 - < html >
- line 2 - < head >
- line 3 - < title > name of page < /title >
- line 4 - < link rel="stylesheet" type="text/css" href="whatever you name your css page" >
- line 5 - < /head >
- line 6 - < body >
- save as - whatever you want to name it.html
- Lists
- Ordered List - < ol >
- Unordered List - < ul >
- Definition List - < dl >
- Definition Term - < dt >
- Definition Definition - < dd >
- Embedded List - adding a list before
ending the previous list
- List Item - < li > - this adds the
numbers or bullets
- Ending a list - < /ol > or < /ul >
- Headings
- < h1 > biggest heading < /h1 >
- < h2 > heading size 2 < /h2 >
- < h3 > heading size 3 < /h3 >
- < h4 > heading size 4 < /h4 >
- < h5 > heading size 5 < /h5 >
- < h6 > smallest heading < /h6 >
- Inserting a TABLE
- < table >
- start a row by < tr >
- table data (no formatting) per column by < td >
- table heading (centered and bold) per column by <th>
- make a cell span across a column < td colspan=number >
- make a cell span across a row < td rowspan=number >
- End the table by < /table >
- Font Changes
- changing the size: < font size=12 >
- changing the color: < font color=red >
or < font color=#660066 >
- changing the face < font face="font name" >
- combine codes: < font face="arial"
size=12 color=blue >
- After the text you wanted to change: < /font >
- < b > makes bold < /b >
- < i > makes italics < /i >
- < u > makes underline < /u >
- < p > starts a paragraph < /p >
- < br > makes a break, doesn't need / to end
- < hr > makes a horizontal line,
doesn't need / to end
- Links
- < a href="web address.com" > Click on this
< /a >
- Make the link open to a new tab:
< a href="web address.com" target="_blank" >
- Send an email link:
< a mailto="emailaddress" > click on this
< /a >
- Inserting images
- Types of images:
- .gif
- .jpg
- .jpeg
- .bmp
- .png
- < img src=name.jpg > doesn't need /
- Embed a website
- < iframe src="website.com" id="quotes"
title="title of website" width="100" height="100" >
- id - groups things with the same id for formatting
- title - tells you what it is if website doesn't appear
- go to website, click on get embed code