In this code, what is the purpose of the id attribute?
id
<p id="warning">Be careful when installing this product.</p>
It establishes that warning is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.
warning
It establishes that warning is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage. Source
It establishes that warning is a unique identifier in the document, used for styling CSS and with JavaScript code.
It establishes that warning may be used for styling CSS several times per page.