Alex Rivera | Logout

What are the benefits of using semantic HTML?

Asked 2009-11-13T14:13:54.757
15

Are there some noticeable outcomes in terms of performance or other aspects to follow semantic HTML?

Edit
Report

1 Answer

4

Clear Code is More Maintainable

Besides benefits to the user, semantic HTML makes more sense to humans: you and your colleagues.

If you were coding JavaScript, would you write functions like this?

dothething(q);
CmtFn(x);

...or like this?

loadUserData(username);
parseComments(language);

If you said #2 is better, well, the same principle applies to HTML. Labeling things clearly, indenting code properly, etc makes your code easier to maintain.

answered 2009-11-13T15:22:22.670

Your Answer