The value of the id attribute must be unique. Following is the syntax −. Global Attributes. The inherit specifies that the element is editable is its parent is.
DOCTYPE html>
Its purpose is to identify the element when linking (using a fragment identifier ), scripting, or styling (with CSS ). HTML ID SYNTAX 1. ACCEPTS ALL CHARACTERS EXCEPT WHITE SPACE As with the introduction above, the id attribute really does not have any 2. WHY SOME CHARACTERS ARE BAD 2-bad-for-css.html