0

Silly question i know, but i'm trying to understand the basics of HTML reference words so that I know what people are talking about. Please help!

1) My question is, what is a node and what is an Element in HTML? For example: is "<title> foo </title>"a node or an element?

2) or is "foo" in between the tag the "element"?

1

Basically, everything is a Node. And <title> foo </title> is an element.

Read more here: https://www.w3schools.com/html/html_elements.asp

and

https://www.w3schools.com/jsref/dom_obj_document.asp

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .