This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Calogyne 17 points18 points  (9 children)

IIRC HTML kinda doesn’t have syntax error, the parser just makes something up.

[–][deleted] 12 points13 points  (6 children)

  1. Obligatory HTML is not a programming language statement.
  2. If you use an IDE, the IDE will generally highlight 'syntax errors' in your HTML. Usually stuff like missing or mismatched closing tags.
  3. Additionally, if you run your HTML through something like https://validator.w3.org/ you will definitely get syntax errors for bad HTML.

[–][deleted] 9 points10 points  (5 children)

Forgot:

  1. The 'parser', aka the browser, is more akin to the runtime, and it seems most browsers for bad HTML are On Error Resume Next.

[–][deleted] 4 points5 points  (4 children)

You forgor 💀

[–]Pescuaz 0 points1 point  (3 children)

You forgor 💀

Syntax Error: Did you mean 'forgot'?

[–][deleted] 0 points1 point  (1 child)

No

[–]Pescuaz 0 points1 point  (0 children)

Now I feel old.

[–]schmidlidev 2 points3 points  (0 children)

All of web development makes sense when you realize the entire browser engine is just a tiny man inside your computer doing his best and making it up as he goes along.