skip to Main Content

I know <th>, <a>, <p>, <h1><h5> can all use title attributes. Which other tags can use them?

I’m currently optimising a website for SEO purposes by adding title attributes with keywords associated with the website

2

Answers


  1. The title attribute works with all HTML tags. It’s a global attribute. You can see the list of all HTML tags here.

    http://www.w3schools.com/tags/ref_standardattributes.asp

    Login or Signup to reply.
  2. The title attribute can be found in the global attributes section of the HTML 5 recommendation which says:

    The following attributes are common to and may be specified on all HTML elements (even those not defined in this specification)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search