HTML Tutorial

HTML Tutorial - 1 Definitions WWW - a software...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Definitions WWW -- a software infrastructure layered on top of the Internet HTTP -- HyperText Transport Protocol, layered on top of TCP HTTPS -- secure HTTP using encryption HTML -- HyperText Markup Language, version 4.01 is current 2
Background image of page 2
3 HTML Page Format <HTML>      <HEAD> <TITLE> Qi’s web! </TITLE>      </HEAD>      <BODY>           <H1> Hello World </H1>           <! Rest of page goes here. This is a comment. >      </BODY> </HTML>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
BODY Element <BODY attributename="attributevalue"> Deprecated attributes (but still used) BACKGROUND=“ Sunset.jpg” (can be tiled) BGCOLOR=color TEXT= color LINK= color (unvisited links) VLINK= color (visited links) ALINK= color (when selected) 4
Background image of page 4
5 Headings <H1 . ..> text </H1> -- largest of the six <H2 . ..> text </H2> <H3 . ..> text </H3> <H4 . ..> text </H4> <H5 . ..> text </H5> <H6 . ..> text </H6> -- smallest of the six ALIGN= "position"  --left (default), center or right
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Headings <HTML> <HEAD>   <TITLE>Document Headings</TITLE> </HEAD> <BODY> Samples of the six heading types: <H1> Level-1 (H1) </H1> <H2 ALIGN="center"> Level-2 (H2) </H2> <H3> <U>Level-3 (H3)</U> </H3> <H4 ALIGN="right"> Level-4 (H4) </H4> <H5> Level-5 (H5) </H5> <H6> Level-6 (H6) </H6> </BODY> </HTML>
Background image of page 6
<P> Paragraph <P> defines a paragraph Add ALIGN= "position" (left, center, right) Multiple <P>'s do not create blank lines Use <BR> for blank line Fully-specified text uses <P> and </P> But </P> is optional 7
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8   <BODY> <P>Here is some text </P> <P ALIGN="center"> Centered text </P> <P><P><P> <P ALIGN="right"> Right-justified text <! Note: no closing /P tag is not a problem> </BODY>
Background image of page 8
9 Special Characters Character Use < < > > & " " Space &nbsp;
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Colors Values for BGCOLOR and COLOR many are predefined (red, blue, green, . ..) all colors can be specified as a six character hexadecimal value: RRGGBB FF0000 – red 888888 – gray 004400 – dark green FFFF00 – yellow 10
Background image of page 10
11 Fonts <FONT COLOR="red" SIZE="2" FACE="Times Roman"> This is the text of line one </FONT> <FONT COLOR="green" SIZE="4" FACE="Arial"> Line two contains this text </FONT> <FONT COLOR="blue" SIZE="6" FACE="Courier" The third line has this additional text </FONT> Note: <FONT> is now deprecated in favor of CSS.
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
12 Ordered (Numbered) Lists <OL TYPE="1">    <LI> Item one </LI>    <LI> Item two </LI>    <OL TYPE="I" >       <LI> Sublist item one </LI>       <LI> Sublist item two </LI>       <OL TYPE="i">          <LI> Sub-sublist item one </LI>          <LI> Sub-sublist item two </LI>       </OL>    </OL> </OL>
Background image of page 12
13 Unordered (Bulleted) Lists <UL TYPE="disc">    <LI> One </LI>    <LI> Two </LI>    <UL TYPE="circle">       <LI> Three </LI>
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 62

HTML Tutorial - 1 Definitions WWW - a software...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online