Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • dom
  • tag

jQuery - Select dom elements by tag

Get dom elements with a specific tag (such as <p>, <div>, <span>).

0
521
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
$("{{tag_name}}")
javascript

Notes

last update: Oct. 27, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Select dom element by class
  • Select dom element by css query
  • Select element by data attribute
  • Toggle DOM element class
  • Select dom element by id

Other language

  • JavaScript

Random task

  • Remove local branch
  • Merge branch into current branch
  • Do loop while a condition is true
  • Remove user group
  • Check strings equal
  • Blog
  • About
  • License