Kid's Guide Publish!
 
 
  Use the Kid's Guide to learn how to write web pages!
then use Publish! to learn how to get your pages live to the Internet!
BACK       

Kid's Guide

1 - Tags
2 - Page Sections
3 - Format/Nesting
4 - Head Tags
    part 1 - title
    part 2 - meta tags
    part 3 - scripts
5 - Body tags
6 - Text Decoration
7 - Lists
8 - Colour
9 - Source
10 - Images
11 - Links/Anchor Tag
12 - Special Charaters
13 - Tables
14 - Frames

Script Tags

This set of tags is called a JavaScript Block. What the tags do is to tell the browser that a set of insturctions must be loaded into the the browser BEFORE the page contents, because someting in the contents/body will need the instructions to be able to work.

ex. If the web page has a DATE function:

These instructions that tell the web browser to get the date from the main server.
<script="JavaScript">
<!--

JavaScript code goes here
//-->
</script>

The first line <script="JavaScript"> tells the browser to expect and load a set of JavaScript instructions.
<!-- and //--> tell olderversions of browsers to ignore the Javascript block and NOT to print the code as part of the body text.
The last line </script> tells the browser that the set of instructions have finished.

It can be easier to put the JavaScript instructions in a seperate file and link to it. This is especially useful if you reuse the same script/instructions on serveal pages. That way if you need to change the script/instructions you only have to edit the ONE file and not every page you have put the script into.
<script language="JavaScript" src="file.js"></script>
This line both tells the browser that it both needs to load a block of JavaScript instructions, but also src="file.js" give the browser the relative address of the file - where to look and find the file.

Style set of tags informs the browser to expect and load CSS - Cascading Style Sheet information.
<style type="text/css">
<!--

Cascading Style definitions go here
-->
</style>

The first line <style type="text/css"> informs the browser that the script block is CSS.
<!-- and //--> tell olderversions of browsers to ignore the CSS block and NOT to print the code as part of the body text.
The last line </style> tells the browser that the set of definitions have finished.

Again, it can be easier to put the CSS definitions into a seperate file and link to it. This is especially useful if you reuse the same definitions throught the site. That way if you need to change the definitions you only have to edit the ONE file and not every page you have put the script into.
<link rel="StyleSheet" href="" type="text/css">
This line both tells the browser that it both needs to load a block of CSS definitions, and also href="" give the browser the relative address of the file - where to look and find the file.

 

 
Safety and Privacy Policies We'd love to get your feedback! Who Made This?

Copyright © 2002 HTML4KIDSTM. All rights reserved.


Hi! I'm Jet Internet! I'm here to guide you through the site and help you with any questions you may have. When you see and text in red slide your cursor over the word then look here in my Speach bubble. I will be able to help with defining, explaining and providing extra information on that topic.

Relative Address
An Exact Address contains the entire URL of the file. A Relative Address is for a file within the same web site and does not need the http://www.doman.com/ part of the address only the sub folder file path.

CSS
Cascading Style Sheets is the W3C standard for controlling the visual presentation of web pages.