CodeClerks

How can you clean up messy HTML?



Enter a reason for deleting this comment

How can you clean up messy HTML?

Whenever I design in HTMl, the code looks very messy from all the revisions. And, I've read this can be bad for SEO. Is there a way to clean up messy HTML after a project is done?

Comments

Please login or sign up to leave a comment

Join
jakemadness

Well no inline styling helps.
Inline styled Example:

<input type="button" value="Submit" onclick="Submit_function();" style="background: #000; border: 1px solid #444; border-radius: 4px; ect etc. . . . . ">

It's better to use id's and classes, I just hate when people style in their pages like that How can you clean up messy HTML?



Enter a reason for deleting this comment

Everett

Well no inline styling helps.
Inline styled Example:

<input type="button" value="Submit" onclick="Submit_function();" style="background: #000; border: 1px solid #444; border-radius: 4px; ect etc. . . . . ">

It's better to use id's and classes, I just hate when people style in their pages like that How can you clean up messy HTML?


Hello,

Inline styling is kind of bad.. You want all your CSS in a .css file, not all over the page within HTML tags.

To Caitlin:
There is HTML beautifiers if that is what you mean.. google "HTML beautifier" [indents your HTML etc] see what comes up, if this is not what you mean, describe your HTML issue in more details.

Kind Regards,
Everett



Enter a reason for deleting this comment