![]() ![]() |
||
|
Body TagsTags normally have a start and end, the end is denoted using a /, (example
<tag> content </tag>), <BR> line break, (no closing tag). <CENTER> This will center any thing between the start and end tags </CENTER> <P> paragraphs The paragraph element requires a start tag, but
end tag is optional, (good practice to close it). </P> <DIV> Requires start and end tags. This with the ALIGN attribute will align text according to ALIGN setting LEFT, CENTER, RIGHT. </DIV>. Examples <DIV ALIGN="center">all center ALIGNED</DIV> <DIV ALIGN=right">all right ALIGNED</DIV> <HR> horizontal rule , attributes are ALIGN, NOSHADE, SIZE and WIDTH . Example Inserting a image, the example below shows how to add images. Example
Making a Hyper Link Example To make it a Link to another site we alter the <A href="bodytag.html">
to <A href="http:www.delta-knight.com"> where "http:www.delta-knight.com"
is the address of this site. We could just make a text Link. Target Attributes Purpose Example <A href="bodytag.html" target="_self">Click Here</A>Loads the new page in the same window as the anchor (default) <A href="bodytag.html" target="_parent">Click Here</A> Loads the new page in the parent frame (when using frames) <A href="bodytag.html" target="_top">Click Here</A> Loads
the new page in the entire browser window (nice way to break out of
frames) May also be used to point to specific frames using target="frame name"
notice there is no leading underline _ used with frame name Making a E-mail link Example E-mail Me A plain text E-mail Link <A href="mailto:webmaster@delta-knight.com"><IMG src="images/mail.jpg" width="94" height="23" border="0"></A> We have already used all the tags and attributes in making a link YOU must change webmaster@delta-knight.com For Your email address
|
|