Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Marl3x26766y@R1100
The doctype, head and title tags are missing, to be valid HTML they must exist.
Check here: https://validator.w3.org/ -
Marl3x26766y@zotigapo It is valid syntax, but not valid html. He probably just didn't want to write the whole html. But I still wanted to clarify that.
Don't hate pliz 😣 -
@Marl3x you are clearly right about the doctype, but the the head can be left out nowadays and still be valid html IIRC. Not that I would do it..
-
Marl3x26766y@Cheeseus Pretty much every Browser counts any html as valid, but it doesn't have too. If some new Browser would be strict about sticking to the specifications, we would propably see some nice error popups: "Invalid html" on a lot of pages.
Just checked: Apparently you only need the doctype and a title to have a valid html document.
Related Rants
<html>
<body>
HELLO WORLD !
</body>
</html>
First steps of becoming a pro full stack ✌
rant
ful stack
web dev
html
start