Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1374 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Marquee in xhtml?

Thread title: Marquee in xhtml?
Closed Thread    
    Thread tools Search this thread Display Modes  
08-25-2007, 12:35 AM
#1
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

Originally Posted by Haris View Post
And marquee is not semantic.
that's the beauty of lying. it doesn't have to be true.

08-25-2007, 09:28 AM
#2
Haris is offline Haris
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 2,741
iTrader: 9 / 100%
 

Haris is on a distinguished road

  Old

Originally Posted by derek lapp View Post
that's the beauty of lying. it doesn't have to be true.
So do you mean Marquee is semantic? If so, do you have a source? I don't have a source so I'll take my words back but I've heard that on some forum.

08-25-2007, 11:44 AM
#3
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Originally Posted by Haris View Post
So do you mean Marquee is semantic? If so, do you have a source? I don't have a source so I'll take my words back but I've heard that on some forum.
When the term 'semantic markup' (or 'semantic html') is used, it generally refers to the use of descriptive markup as opposed to presentational markup.

Descriptive (aka. Procedural [more]) markup includes all those elements and structures that we use to give meaning to the HTML document.
For example:
  • Unordered Lists = <ul>
  • Definition Lists = <dl>
  • Tabular Data = <td>
  • Paragraph = <p>
  • Address = <address>
  • Emphasis = <em>

Presentational (HTML) markup includes items which related to the presentation (duh) of the document rather than describing its content.
For example:
  • Bold = <b>
  • Blink = <blink>
  • Font = <font>

To finish up, the <marquee> is not to be included as semantic because it does not give particular meaning to whatever it contains within its opening and closing tags. The purpose of the marquee is purely presentational, as I hope you can understand now. The easiest way (for me) to separate these two types of markup is to imagine (or actually create) a scenario where the HTML document was not displayed in a regular visual browser, but read out by a screen-reader. The semantic elements all work together to create a well structured document that the screen-reader can 'read' out loud. The presentational markup is of no use in this instance (imagine a screen reader announcing blinking text! ) so would go ignored. Lets not write HTML that will be ignored!

08-25-2007, 12:14 PM
#4
Haris is offline Haris
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 2,741
iTrader: 9 / 100%
 

Haris is on a distinguished road

  Old

Originally Posted by Salathe View Post
When the term 'semantic markup' (or 'semantic html') is used, it generally refers to the use of descriptive markup as opposed to presentational markup.

Descriptive (aka. Procedural [more]) markup includes all those elements and structures that we use to give meaning to the HTML document.
For example:
  • Unordered Lists = <ul>
  • Definition Lists = <dl>
  • Tabular Data = <td>
  • Paragraph = <p>
  • Address = <address>
  • Emphasis = <em>

Presentational (HTML) markup includes items which related to the presentation (duh) of the document rather than describing its content.
For example:
  • Bold = <b>
  • Blink = <blink>
  • Font = <font>

To finish up, the <marquee> is not to be included as semantic because it does not give particular meaning to whatever it contains within its opening and closing tags. The purpose of the marquee is purely presentational, as I hope you can understand now. The easiest way (for me) to separate these two types of markup is to imagine (or actually create) a scenario where the HTML document was not displayed in a regular visual browser, but read out by a screen-reader. The semantic elements all work together to create a well structured document that the screen-reader can 'read' out loud. The presentational markup is of no use in this instance (imagine a screen reader announcing blinking text! ) so would go ignored. Lets not write HTML that will be ignored!
Thanks Salathe.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed