I need help on how to add id Attribute on html5

I need help on how to add id Attribute on html5
0.0 0

#1

i need help on how to add id Attribute on HTML5 please i would greatly appreciate it


#2

Simply add it into the tag definition.
For eg.
If i want to add an id attribute called “code” into an <h1> tag I would write it like this:
<h1 id="code">This is how it's done!</h1>
hope this is what you were looking for! (mark the topic as answered if yes)


#3

thank you very much i was stuck for ages


#4

No problem! It is part of learning to be stuck and kearn common mistakes. (Remember you can always ask Google , you’d be surprised how helpful the internet is)