I need help on how to add id Attribute on html5

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

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)

thank you very much i was stuck for ages

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)