+ 6

List all inline elements, block elements and attribute tags in HTML. And also list their differences.

List Inline elements and Block elements in HTML, then list attribute tags in HTML. What is the difference between Inline elements, Block elements and attribute tags in HTML. They keep confusing me... A clearer explanation is needed. Thank you.

6th Jul 2019, 7:40 AM
Katie_D❣💕
Katie_D❣💕 - avatar
3 Answers
+ 6
I don't know that i can list all of them, but... Have u looked at this? https://www.sololearn.com/learn/HTML/1034/ Here are some of each elements: Inline elements: - <strong> or <b> - <input> - <img> - <span> Block level: - <div> - <p> - <li> - <h1> - <table> •••••••••••••••••••••• Block elements: start in a new line. Example, if i had ..Abc <div> def </div>, The result is: Abc def -- it started a new line, because div is block element. ============= inline elements: They don't force line-break (they don't start in a new line). Example: Abc<span> def </span>, result is: Abcdef.
6th Jul 2019, 8:43 AM
Ginfio
Ginfio - avatar
+ 3
Maybe Google your query to see what you get.
6th Jul 2019, 9:59 AM
Sonic
Sonic - avatar