HTML and CSS Reference
HTML document. This doesn't mean that you have to be an expert, but you should be
familiar with the structure of HTML documents and how the tags are used to display
various kinds of content on your browser. Once you have a static HTML document, then
excellent HTML tutorial.) In this text we have devoted a separate chapter to CSS. CSS
allows you to control the style and layout of your Web page by changing fonts, colors,
can create a Web site with structure, style, and action.
HTML head tags <head> and </head> or between the body tags <body> and </body> .
you will see later, it is the best place to store function definitions and objects. If you want
code within the <body> tags (as shown in Example 1.5). Or you might have multiple
shared by multiple pages, it should be placed in an external file (text file ending in .js )
and loaded into the page. In fact, once you start developing Web pages with JavasScript,
it is customary to separate the HTML/CSS content from the programming logic (Java-
Script) by creating separate files for each entity.
When a document is sent to the browser, it reads each line of HTML code from top to
of the HTML continues until the end of the document is reached.
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
4 <body bgcolor="yellow" text="blue">
7 <big>This is just plain old HTML stuff.</big>