Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Semantic Markup

  1. #1
    New Coder
    Join Date
    Nov 2010
    Location
    London, UK
    Posts
    40
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Semantic Markup

    Hey Guys,

    Obviously we all love writing clean semantic HTML when developing our sites, but I am curious - what does semantic HTML mean to you?

    To me, it's the separation of style and content. i.e no in-line styles, no use of deprecated tags such as <bold>, <i> etc.

    How far do you go with it - are line breaks classed as a no no? (I never use them, just curious)

    It would be good to get the general consensus on whats allowed in semantic markup and what isn't.

    If anyone has any documentation on the matter, that would be a great help.

    Cheers.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    what does semantic HTML mean to you?
    Here's a good read at http://boagworld.com/technology/sema...e-what-why-how
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder
    Join Date
    Jul 2009
    Location
    South Yorkshire, England
    Posts
    2,318
    Thanks
    6
    Thanked 304 Times in 303 Posts
    I class semantic as being easily readable and understandable in a text browser, so unnecessary tags like <b><i> etc aren't used, (styling is what CSS is for, after all), yet tags like strong, em, code, br etc are all fine, IMHO. Those actually tell you what the page and text is supposed to look like, how it should flow and to give the portions of text meaning. In other words, the content and general layout should come across, in basic form, the same in either text form or fully styled.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •