Top "Html-validation" questions

Questions about client-side form validation in browsers, as defined in the HTML Living Standard.

How to Call a JS function using OnClick event

I am trying to call my JS function that I added in the header. Please find below code that shows …

javascript html forms validation html-validation
How to find the unclosed div tag

A unclosed div problem almost make me crazy. It is very difficult to track especially when the page is long …

html html-validation
charset=iso-8859-1 with <!DOCTYPE HTML> throwing a warning?

I just validated a html doc using the W3-validator , and found that If I use: <meta http-equiv="Content-Type" …

html character-encoding doctype html-validation
Is action really required on forms?

Here it says it's required http://www.w3schools.com/tags/att_form_action.asp but I see that forms …

forms html html-validation
Using sprites with IMG tag?

I understand how to use sprites, however, isn't a "src" attribute required for IMG tags? I could always use a …

html css css-sprites html-validation
No p element in scope but a p end tag seen.w3c validation

My HTML is as as below. I have opened all elements and closed them. Still when I check it on …

html w3c-validation html-validation
Html5 form element "required" on iPad/iPhone doesn't work

iPad safari is supposed to be html5 compliant, but it seems that the required element doesn't work. Anyone know why, …

html forms mobile-safari required html-validation
HTML Select Option Validation

How would I alert out that the selection must not be be blank in plain javascript? Here is my code …

javascript html-validation
Help with HTML validation error: Table column has no cells beginning in it

Please help me with this validation error. I can't understand what it means or what's not standards complaint with my …

validation html html-validation