HTML and CSS Reference
In-Depth Information
Rockin' page. It's perfect for
my trip and it really does a good job of
providing an online version of my journal.
You've got the HTML well organized too, so
I should be able to add new material myself.
So, when can we actually get this off your
computer and onto the Web?
Plan the structure of your web pages before you
start typing in the content. Start with a sketch,
then create an outline, and finally write the
HTML.
<br> is a “void” element.
Void elements have no content.
A void element consists of only one tag.
Plan your page starting with the large, block
elements, and then refine with inline elements.
An “empty” element has no content. But it does
have both opening and closing tags.
Remember, whenever possible, use elements to
tell the browser what your content means.
A nested element is an element contained
completely within another element. If your
elements are nested properly, all your tags will
match correctly.
Always use the element that most closely
matches the meaning of your content. For
example, never use a paragraph when you
need a list.
You make an HTML list using two elements in
combination: use <ol> with <li> for an ordered
list; use <ul> with <li> for an unordered list.
<p>, <blockquote>, <ol>, <ul>, and <li> are
all block elements. They stand on their own
and are displayed (by default) with a linebreak
above and below the content within them.
When the browser displays an ordered list, it
creates the numbers for the list so you don't
have to.
<q> and <em> are inline elements. The content
in these elements flows in line with the rest of
the content in the containing element.
You can build nested lists within lists by putting
<ol> or <ul> elements inside your <li> elements.
Use character entities for special characters in
your HTML content.
Use the <br> element when you need to insert
your own linebreaks.
Search WWH ::




Custom Search