how to check how many p tags are on an html page in javascript code example Example: how to use p in html <p> your text here </p>