DEV Community

[Comment from a deleted post]
Collapse
 
np_prodsr profile image
Prod Juan

Feedback

Great article! I learned something (e.g. <time> tag) from this!

Observation

Also, a question of vernacular:
Aren't "elements" the result of applying a given (HTML) "tag" to an area of the page? So headings in this article might rather be "The address tag", "The ol tag", and "The time tag".

Background

Looking at this from a JavaScript perspective, I'd use

  • document.getElementById() to access a created element based on its id attribute, and
  • document.getElementsByTagName() to access any elements based on the tag itself

(my 2.5 cents)

Collapse
 
melnik909 profile image
Stas Melnikov

Thank you for your tip. I use words by basing on specs. So I write like this