+ 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

17th Jun 2020, 5:52 AM
Awojobi Godfrey
Awojobi Godfrey - avatar
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
18th Jun 2020, 6:02 PM
Daya Bianca
Daya Bianca - avatar
+ 7
No! All html tags do not have attribute like </br> </hr>.
19th Jun 2020, 4:28 AM
BUCHUPALLI VIMALA REDDY
BUCHUPALLI VIMALA REDDY - avatar
17th Jun 2020, 11:49 AM
Simba
Simba - avatar
+ 5
Randall Sedor HTML is a mark-up language, and it has versions, HTML 5 is the current version
18th Jun 2020, 10:20 PM
Daya Bianca
Daya Bianca - avatar
+ 4
because sololearn's answer is on html 4 <!Doctype html> is in html 5
17th Jun 2020, 6:17 AM
Shoyb Hasan
Shoyb Hasan - avatar
+ 3
MD. Shoyb Hasan, the question did not specify whether it is HTML 4 or 5
17th Jun 2020, 6:33 AM
Awojobi Godfrey
Awojobi Godfrey - avatar
+ 3
We use <! DOCTYPE html> to make understand the browser , the type of document is HTML. That's why
17th Jun 2020, 8:51 AM
Md Sahid Sk
Md Sahid Sk - avatar
+ 2
Md Sahid Sk i don't get your point
17th Jun 2020, 9:17 AM
Awojobi Godfrey
Awojobi Godfrey - avatar
+ 2
Simba thanks, that was helpful
17th Jun 2020, 12:46 PM
Awojobi Godfrey
Awojobi Godfrey - avatar
+ 1
you are right!
17th Jun 2020, 6:34 AM
Shoyb Hasan
Shoyb Hasan - avatar
+ 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
17th Jun 2020, 9:28 AM
Md Sahid Sk
Md Sahid Sk - avatar
+ 1
What am saying is that the question should be removed or edited by specifying whether it's html4 or html5
17th Jun 2020, 9:35 AM
Awojobi Godfrey
Awojobi Godfrey - avatar
+ 1
<DOCTYPE html>is use in HTML5 that's why no attribute are use in it
18th Jun 2020, 6:12 AM
Ansh raj
Ansh raj - avatar
+ 1
Doctype is not a compulsory tag that's why it doesn't have attribute....
18th Jun 2020, 10:47 AM
Pratik Kumar
Pratik Kumar - avatar
+ 1
No! All html tags do not have attribute like </br> </hr>
18th Jun 2020, 2:17 PM
Zeeshan Ahmed
Zeeshan Ahmed - avatar
+ 1
We use <! DOCTYPE html> to make understand the browser , It include in version 5 .
18th Jun 2020, 4:00 PM
Raghvendra Singh chandel
Raghvendra Singh chandel - avatar
+ 1
I have a question What is the difference between html and html5
18th Jun 2020, 10:16 PM
Randall Sedor
Randall Sedor - avatar
+ 1
Thanks
18th Jun 2020, 10:24 PM
Randall Sedor
Randall Sedor - avatar
19th Jun 2020, 5:54 AM
Daya Bianca
Daya Bianca - avatar
0
thanks if it is correct answer So,marked this
17th Jun 2020, 6:30 AM
Shoyb Hasan
Shoyb Hasan - avatar