+ 8
Question in HTML challenge
A question there says does all HTML elements have attributes, the answer by sololearn is true, but I dont think so because <!doctype html> does not have attributes
28 Réponses
0
Yeah, I think you have to report this question, becoz it is not specifying whether, It is for HTML4 or HTML5
+ 7
No! All html tags do not have attribute like </br> </hr>.
+ 5
Awojobi Godfrey Hope this helps you:
https://www.sololearn.com/Discuss/2328167/?ref=app
+ 5
Randall Sedor HTML is a mark-up language, and it has versions, HTML 5 is the current version
+ 4
because sololearn's answer is on html 4
<!Doctype html> is in html 5
+ 3
MD. Shoyb Hasan, the question did not specify whether it is HTML 4 or 5
+ 3
We use <! DOCTYPE html> to make understand the browser , the type of document is HTML. That's why
+ 2
Md Sahid Sk i don't get your point
+ 2
Simba thanks, that was helpful
+ 1
you are right!
+ 1
When you run your program on the browser, you have to make understand the browser that your program file is HTML file . that's why we write it
+ 1
What am saying is that the question should be removed or edited by specifying whether it's html4 or html5
+ 1
<DOCTYPE html>is use in HTML5 that's why no attribute are use in it
+ 1
Doctype is not a compulsory tag that's why it doesn't have attribute....
+ 1
No! All html tags do not have attribute like </br> </hr>
+ 1
We use <! DOCTYPE html> to make understand the browser ,
It include in version 5 .
+ 1
I have a question
What is the difference between html and html5
+ 1
Thanks
+ 1
Randall Sedor yeah
0
thanks
if it is correct answer So,marked this