The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Is this valid markup?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #152273

    Wondering if using the html5 <section></section> tag as a jQuery selector is valid markup? I’m aware that in most cases using a id or class is preferred…but I’m solely curious about the section tag.

    Example: $('section').hide();

    Any info is appreciated. thanks

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.