+ 4
I do not understand what element is
<p> Hello </p> in this code what is element ? 1) <p> Hello </p> or 2) Hello
14 Respuestas
+ 29
Good Question:👌
● P Is Element
●<p> Is Tag
●< / > Is Element
●<p align=""> (Align) Is Attribute
Keep It Up!👍
Good luck!!!✌
+ 5
Html is a markup language ( use to identify content and structure of a web site).
Basically, html including two things: tag and content or element (tags are use to identify the display of content).
Tag in basically inside <> or </> symbol (the <> tag is call openning tag and </> is call closing tag)
Content (element) is within the tag.
In your case, Hello is the content. And <p>, </p> is tags to tell the browser: print out the string "Hello" as a paragraph!
+ 4
//Here is a best answer
https://www.w3schools.com/html/html_elements.asp
https://www.sololearn.com/learn/HTML/1028/
+ 3
Thank you all for helping me 🎁
+ 2
the first one is coding ☺
but the second one is not☺☺
+ 2
the second one isn't an element
+ 2
Htlm element is every thing from the openning to the closing tag. That mean "Hello" is html element, and the rest is tag
+ 2
In Html: element can contain other elements (call nested element)
Ex: <body><p>Hello</p></body>
+ 2
Take a look here: https://www.w3schools.com/html/html_elements.asp
+ 2
The element is <p>Hello</p>
Hello is the content of the element.
+ 1
do you mean that the second one is an element ?
+ 1
no programmer use "hello" without a paragraph tag or div or....
because we difining the paragraphs inside <p> tag. Also u can use <h1> sometimes of course not to make the sentence bigger but u can it for important one
+ 1
only <p> is an element ?
<div style="color:red"> Hi </div>
in the second example, from starting tag to ending tag of div with content isn't an element ?
+ 1
But Moumen Al_Bakkar told that Hello is not an element. I'm confuse...