<br> now will be <br />
<hr> now will be <hr />
<img src="mypict.gif"> now will be <img src="mypict.gif"
/>
<script type="text/javascript" language="javascript"
src="myscript.js" />
New tags !
<div></div> for IE and Netscape
6
<layer></layer> for Netscape
4 (the div tags work for NS4, also)
These <div> tags allow you to place your content anywhere on
the page you want to
<div top="55px" left="55px">my content</div>
-- top means rows down from the top, left means rows over from the
left
Also, to place some items on top of each other -- hiding what is under.
You use the z-index for that.
You can set the layer's width and height, also. We'll see examples
later.
Lots of information on layers and divs LATER - I will neglect to include both names when I am explaining them - just assume I mean both. (This link is just for the brave, right now)
<script language = "JavaScript"
type="text/JavaScript">
...
</script>
| Special Character escapes | |
| Don't Use | Use this insted |
| CDATA | escapes (larger list)
out various needed ascii See Unicode escapes also |
| %20 | blank space in your link |
| < |
< |
| > |
> |
| & | & |
| ' | ' |
| " | " |
| © | © |
| ® | ® |
| empty space | |
| If you want to tell the browser to tab, or new line etc. use a backslash in from of one of the escape codes | |
| \b | tells the browser to backspace |
| \f | form feed |
| \n | new line |
| \r | carriage return |
| \t | tab |
| \\ | backslash - just print a backslash |
| \' | print a single quote |
| \" | print a double quote |
Linking in html
| Additional HTML references | |||||||||||
| # | targets, escapes out an HTML link <a href="nextpage.htm#mytarget" >my target</a> used with <a name="mytarget">Targets</a> |
||||||||||
| absolute | "http://www.w3c.org" "http://www.mysite.com/images/pict1.gif" 1. Good for reusing your browser's memory - doesn't have to reload for each page 2. Can re-use this navigation for many pages |
||||||||||
| relative |
start where you are (at your site), now where we move from here
|
||||||||||
![]() |
|||||||||||