Why are allowed HTML attributes so restrictive?

  • Author
    Posts
  • #181441

    nsaunders
    Member

    I’m wondering why so few HTML attributes are allowed in the WordPress editor?

    I can understand that <script> tags present a security risk and I know that CSS is preferred over the old HTML attributes for style. However, some (many?) quite useful attributes are stripped out – such as the “value” attribute for

  • which allows you to do things like reverse ordered lists.
  • Is it a dastardly plot to force users to buy CSS ? ;)

#181542

nsaunders
Member

Speaking of bad HTML, I seem to have stuffed up my original post.

The value attribute for the “li” tag is what I was trying to say.

The topic ‘Why are allowed HTML attributes so restrictive?’ is closed to new replies.