|
|||
| week 02a - HTML basic tags, HTML Example Directory | |||
assignments : |
week 2 - complete at the end of class,
or hand in week 3 week 3 - complete at the end of class, or hand in week 4
|
|||||||||||||||
| HTML : | Introduction For the next two weeks, the class will go through a series of HTML examples. These examples are contained in a series of small web pages that demonstrate one or two HTML techniques. Go through each example file in the HTML examples, and type the HTML code into Dreamweaver. Use the HTML Cheat Sheet below as your guide and link to each example, or you can link to the HTML Example directory to see all the files.
Web references:
|
|||||||||||||||
| transition to XHTML : | XHTML is a new markup language that will eventually replace HTML. It incorporates a new web technology called XML that makes web pages more flexible and the content in the pages accessible like a database. XHTML is beyond the scope of this class, but you should learn to create your HTML in the new XHTML format so your code can be converted to XHTML in the future. Some rules to follow to make your code compatible with XHTML:
For more information see: http://www.w3schools.com/xhtml/default.asp |
|||||||||||||||
|
HTML Cheat-Sheet
|
||||||||||||||||
| example : |
<html> <body>
|
|||||||||||||||
HTML examples : |
1) background
color 2) background
image use this image as the background image (control-click to download it):
3) Heading styles 4) Line break 5) Paragraph 6) Bold and
italic 7) Horizontal rule 8) Inline image 9) Links A link that sends an email.
Note that this won't work right on the Academy computers because
they are not configure for email.
<a
href="#lowerpoint">Link
to a location lower on this page</a> 10) Font The fonts specified are displayed in order of availability on the computer. If the leftmost font is not available, the next one is displayed, and so on until the font is found on the user's computer. Note: The designer can assume that only the following matching fonts will be available on the user's computer:
11)
Centering 12)
Indenting a paragraph, creates a paragraph and adds margin on left
and right 13) Bulleted
list 14) Numbered list, types: numbered=no type, upper letters="A", lower letters="a", upper roman="I", lower roman="i" <ol type="i"> 15) Preformated text,
allows use of extra spaces and line breaks to format your text alskf asldk
aslfk asldkf asdlk
als faslfk alskfa sldk
laksdf alsfk laskf alsdkf
alskf asldk aslkf
als kfasdlk
aslkf asldk asld
</pre> 16) Flowing text
around an image, align="left", align="right", vspace="pixels" margin
above and below image, hspace="pixels" margin left and right
of image 17) Text colors,
text=basic text color, link=links color, vlink=visited links, alink=link
when mouse down 18) Meta tags,
refresh=go to a new page after N seconds, description=used by search
engines, keywords=used by search engines 19) Comments, used for identifying different parts of the code, or explaining how the code works. Comments are not displayed in the page, and are ignored by the browser. The format for a comments is: Begin a comment with "<!--", end it with "-->", and do not use "--" within the comment. <!-- this is a comment -->
|
|||||||||||||||
exercise 1: tags 1-9 : |
Due at the end of week 2 class
|
|||||||||||||||
| exercise 2: tags 10-19 : | Due at the end of week 3 class
|
| all materials on this web site © copyright 2003, Philip van Allen |
top |