Loading ...
Sorry, an error occurred while loading the content.
 

Re: [NH] ID/Target # => will not work in FF 2.0.9

Expand Messages
  • Axel Berger
    ... No, a semantic element is one, that tells you something about the content and must or should be there irrespective of layout like: this is a paragraph this
    Message 1 of 12 , Nov 8, 2007
      WV-Mike wrote:
      > A semantic tag would be <p>, etc and
      > unsemantic element would be <img and ???

      No, a semantic element is one, that tells you something about the
      content and must or should be there irrespective of layout like:
      this is a paragraph
      this is a heading
      this is an image
      this is a table (of tabular data)
      this is a list
      and also this is a link to something else

      Unsemantic are all elements that are there for reasons of layout rather
      than content, i.e. all DIVs and SPANs, tables if they're there for
      layout, and of course all deprecated nonsense like FONT or CENTER (I
      sometimes use the latter to cater for browsers without styleshets).
      Internal anchors are a borderline case, but no doubt an ID attribute
      inside a tag, that needs to be there anyway, makes for cleaner code.

      In HTML I'm often pulled both ways by the two important rules I try to
      comply to:
      1) Always write totally standards conformant code and shun anything
      deprecated or proprietary.
      2) Never use anything newer than you absolutely have to to achieve your
      goal. Always be compatible to the oldest version of anything that your
      content allows.

      Axel
    Your message has been successfully submitted and would be delivered to recipients shortly.