HTML - Can I use a same ID and NAME on two different web page?
I know that ID and NAME should be unique to a page.
however, I would like to know whether or not it is valid to use a same ID and NAME on different pages.
For example:
<img alt="" src="images/shadow.png" id="shadow" name="shadow开发者_运维知识库"/>
Whether or not it is valid to include this statement to all pages?
Thank you
this is fine. it only has to be unique to a page
精彩评论