1. Some
quick review:
xhtml tags are commands
written between the less than < and greater than > signs that indicate
how the web browser should display the text and images on the web page.
xhtml tags definitely
need an opening < > and closing tag </ >.
Many tags
have attributes that offer a variety of options for the contained text. The
attribute is written in the opening tag, between the command word and the
greater than symbol. Example: <table border =”1”>. Border is the attribute.
Attributes
often have values. In the example above, 1 is the value of the border
attribute.
Another
example of a tag with an attribute and a value: body bgcolor
= “#C6E7DE”
2. Nesting
xhtml tags:
This means
to place one set of tags inside another.When nesting tags,the inside tags open and
close before the outside tags close.
3.
Spacing:
Spacing is
tricky when writing xhtml for the simple reason that xhtml responds only to tags that it reads. In other words,
if you create spaces using the tab key, the space bar or the return/enter key,
html will not acknowledge those spaces.
It will
respond to tags that create space such as <br
/>.
The
<pre> tags do allow one to control text formatting to a much greater
degree.
4. On the
w3schools website, study the entities, links and background
tutorials in the html tutorial section.
* Work
closely with the examples and study the explanations of these ideas.
ASSIGNMENT 3
Create some
organizational/layout structure using different headings on the page. Submit at
least two xhtml pages that include some entities,
links and the background image attributes. Include links to another html page,
to a web address, and to a place within the same html document. Also include an
email link. Submit these xhtml pages.