Jump to content

Database Access For Html And Other Language Parameters/attributes Etc...


myk247365
 Share

Recommended Posts

Does W3Schools have a database I could query that would give me all the attributes for an HTML tag i.e.select * from attributes where tag='anchor';This would return a result of:nameidalthrefetc....so that once I determine which type of tag is most appropriate for my data, I can find out what attributes, event handlers etc... are available with that tag?The idea being this DB would kept up by the appropriate standards body and as the spec changes the DB is kept up to date. Then I can create some code that would get the appropriate attributes or whatever and see if I have an appropriate value in my DB.I'm guessing the DB already exists and is the backend for the w3schools pages, my question is, can I query the DB myself?thanks

Link to comment
Share on other sites

That's a cool idea, but no. The easiest way is to just search the relevant DTD for e.g. "<!ELEMENT a ", and that will bring up the information about the element.Note: the W3Schools isn't a standards body.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...