Web Class Notes 3 - September 28, 2004

!) The key to HTML is in the tags.keywords enclosed in less than (<) and greater than (>) signs. that indicate what kind of content is coming up.

2) XML is a language for creating other languages and can be used to make up your own HTML.

3) XML was combined with HTML to make XHTML which has features that can be used to make better HTML codes.

4) For all practical purposes most of the time you will be using HTML and there may not be much difference with XHTML.

5) CSS or “cascading style sheets” is a system for formatting instructions.

6) Elements are like little labels that identify and structure the different parts of a web page.

7) Attributes contain information about the data in the document as opposed to being that data.

8) If one element contains another, the first is the parent and the enclosed is the child.

9) Use lowercase file names for html files and limit it to 8 letters or less. Avoid periods, dashes, or any punctuation symbols. Try to identify the file - or follow the instructions given in class as you have been saving your notepad files.

10) It is preferred that you use .html for file suffixes but Windows often places invisible .htm suffixes on a saved file. So you need to be careful nolt to have 2 suffixes. You may be able to change the folder options so that you can see the suffic extensions.

11) DOCTYPE is a declaration of using certain standards in the web page. In many cases you can get by without it

12) Some kinds of HTML may work in some browsers but not in others.


Web Class Notes 3 - September 28, 2004 - Page 2

13) In making your first web pages, you do not need to use the DOCTYPE command as on Page 60.

14) At the start of your document, use <html> and at the end use </html>

15) Most webpages are divided into 2 sections the head and the body.

16) After the <html), make the head by using <head> and </head>. Between the two you will be enclosing inform ation about the webpage and the title. The information will not be visible in the browser.

17) The title of your page that appears in the the title bar of your browser is placed within the title tags - <title> </title> and these tags are placed with the head tags. <head> <title> </title> </head>

18) At this time, you don’t have to declare the character encoding -see page 63.

19) The body of your HTML document contains the contents. Use the body tags after the head tags - <body> </body>

20) You can make titles in the body (section headers) by using the hn tags before and after the section header - <hn> </hn> (n is a number from 1 to 6. The smaller number will usually result in large title characters.

21) You can center the section headers by using the center tags before and after - <center> </center>

22) To begin and end a new paragraph use the p tags - <p> </p>

23) To align the text by typing align=”direction” in the opening p tag where direction can be left, right, center, justify.

24) Create a line break by typing <br> where the line break should occur. There is no need for a closing tag. You can also use <br/> which works with XHTML also.

RETURN