Reputation: 1566
Is there any reference that shows the default attributes values of some tags? For example if I write:
<form>
...
</form>
It rendered to something like this: (I think)
<form action="" method="get" enctype="application/x-www-form-urlencoded">
...
</form>
Or <input></input>
is rendered to <input type="text"></input>
Where I can find this information for all tags?
Upvotes: 2
Views: 61
Reputation: 449415
The W3C reference is probably your best bet.
Generally, a quick way to find the right page is to Google (as pointed out by @DTDesign)
<name of the element> site:w3.org
just skip the w3schools garbage, look for w3.org
hits, and you're on your way.
Upvotes: 5