+ 1
difference between html element and tag?
html elements communicate to the browser how to render text.when sourended by anguler brackets <>.they form html tags the most part,tags come in pairs sorrounded text..
1 Answer
0
Hey boss,
Think of element as the whole thing
<p> Hello world! </p> would be an element.
The tag is <p>.
Now do keep in mind that not all tags require closing tags like
<img src=''#'' alt=''#''>
doesn't need a closing tag. Here is a URL for some more info
https://www.w3schools.com/html/html_elements.asp