HTML Basic Information
-
XHTML and HTML
- XHTML is a version of SGML which is XML compliant
and which attempts to support all HTML tags. SGML stands for Standard
Generalized Markup Language. XML stands for eXtensible Markup Language.
-
Comments
- Comments begin with <!-- and end with --> Comments can span several
lines.
-
URLs
- A complete URL includes the protocol, server, and the pathname of a
document. For example:
http://tornado/ROP/index.html
-
Absolulte and Relative URLs
- URLs can be absolute (spell out the entire path) or they can be relative
to the current location. Pages stored in the same directory as the current
page , for instance, can be accessed using only their file names.
-
Cascading Style Sheets
- Here's the basic code for a simple page which tests to see if a browser
uses CSS:
This will be red if CSS works with your browser
-
The DIR Attribute for the HTML tag
- The default value for the dir attribute is ltr (which means left to
right). You can set this to rtl (right to left). This isn't very useful, but
it is kind of interesting.
-
BODY Attributes
- alink, background, bgcolor, bgproperties, class, dir, id, lang,
leftmargin, link, onblur, onclick, ondblclick, onfocus, onkeydown,
onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseup,
onunload, style, text, title, topmargin, vlink.
-
Frames
- A frame document does not have a body tag. Instead it has a frameset tag.
This divides the display window into one or more independent windows, each
displaying a different document.
-
Editorial Markup
- Defines inserted and deleted document content.
Example:
This is an example of how to use ins and del
new information here
[old information here]
Code:
This is an example of how to use ins and del
new information here
[old information here]
-
The bdo Tag
- The bdo tag changes the direction of text. For instance:
This is a short sentence displayed rtl.
This is a short sentence displayed rtl.