SLIDE 7 Page 13
VI, October 2006
HTML - Frames
http://www.htmlhelp.com/design/frames/whatswrong.html
What's wrong with frames? … In depth Unaddressable resources On the Web, everything can be accessed (or addressed, at least) using an Uniform Resource Locator (URL). This makes it possible to link to anything, anywhere. At least, as long as the anything in question does not use frames. Totally incompatible The general rule for HTML is that if an element is not understood by a browser, it should be ignored. This way, a browser that does not understand the element can still show the rest of the document. The reader may miss some of the meaning of the text, or get a document that is formatted a bit strangely. Unfortunately, this is not the case with frames. The FRAMESET and FRAME elements do not have textual content. A browser that does not support frames will simply skip over these tags. But as there is nothing else to show, this browser would display nothing in place! The NOFRAMES element allows an author to specify content for such a browser, but this often means that the author has to do double work.
AVOID FRAMES !
Potential problems
- some browsers
- keeping bookmarks
- Printing
Page 14
VI, October 2006
HTML - Text formatting
Format
- <Hn> header (n = 1 to 6)
- <P> paragraph
- <CENTER> center
- <BR> line break
- <HR> horizontal rule
Style
- <B> bold </B>
- <I> italic </I>
- <PRE> fixed width text </PRE>
deprecation
- <U>, <S>, <FONT>, …
- Use CSS !
Lists <LI>
- <UL> unordered list
- <OL> ordered list
- <DL> definition list
</UL> <LI>first line</LI> <LI>second line</LI> <LI>last line</LI> </UL> <DL> <DT>spam <DD>annoying unrequested email </DL>
spam annoying unrequested email
- first line
- second line
- last line