Some tags can be modified through the use of "attributes." XTML
requires that the values for the attributes be given in quotes.
Example:
<font size="24">
Here, size is the attribute, specifying 24 point font.
HTML files are divided into two parts the "head" and the "body". You
use the head and body tags to indicate these sections. The head
section must contain a title tag that titles the window. The
body section will contain the content of the web page.
Example:
<html> <head> <title>My Home Page</title> </head> <body> <h1>Home Page</h1> </body> </html>The h1 tag indicates a large "heading" for the page. (Note the difference between a window title and a heading. The window title appears in the title bar of the window.) Some other commonly used html tags are given below.
Close Tag | Attribute | Description
| | ||||||||||||||||||||||||
</a> | href="url" | creates link
| | ||||||||||||||||||||||||
</b> | (none) | bold face
| | ||||||||||||||||||||||||
</i> | (none) | italic face
| </u> | (none) | underline face
| </center> | (none) | center text
| (none) | size= or width= | horizontal line
| (none) | src="url" | insert an image
| </p> | (none) | paragraph break
| (none) | (none) | line break
| |
For more information on making web pages see: http://cs.gmu.edu/~amarchan/webpage.html
Click
here to return to the IT 103 Class page
Click
here to return to the IT 108 Class page