11
R-C-D
6y

<html>
<body>
HELLO WORLD !
</body>
</html>

First steps of becoming a pro full stack ✌

Comments
  • 2
    console.log("all the best")

    The second step to being a full stack developer
  • 1
    Sudo backend start --after=frontend
  • 1
    Thats not valid HTML
  • 0
    @Marl3x what's wrong?
  • 1
    @R1100
    The doctype, head and title tags are missing, to be valid HTML they must exist.
    Check here: https://validator.w3.org/
  • 1
    @Marl3x i say its valid syntax.
  • 1
    @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 😣
  • 0
    @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..
  • 1
    @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.
  • 1
    @Marl3x ah ty for the explanation
Add Comment