Well, I want to set a color to the tag style.
The following example changes the style of an element
<p id="tag"> parágrafo </p>
To change the style of an HTML element, use this syntax:
<script>
document.getElementById("tag").style.color = "blue";
</script>
So far so good, but I wanted to be able to set a direct color in the tag displayed on the page
Then it would be syntax below, which puts the HTML element visible on the web page.
<p> parágrafo </p>
Result of the above syntax, its output is as in the line below
<p> parágrafo </p>
So I want <p>
and </p>
to have color set, stipulated by me, for example - blue