An id of “main” may be placed on the <main>
element . For example <main id="main">
. Then remember to always type #
before your id name in your CSS. For example #main{ insert css properties here }
An id
is an attribute. So an id="main"
means to set an element with an attribute with that.
For instance something like this;
<div id="main">...</div>
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.