Top "Html" questions

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser.

HTML5 form required attribute. Set custom validation message?

I've got the following HTML5 form: http://jsfiddle.net/nfgfP/ Currently when I hit enter when they're both blank, a …

javascript html forms validation
How create table only using <div> tag and Css

I want to create table only using <div> tag and CSS. This is my sample table. <body&…

html css
An invalid form control with name='' is not focusable

In Google Chrome some customers are not able to proceed to my payment page. When trying to submit a form …

html validation
Make Iframe to fit 100% of container's remaining height

I want to design a web page with a banner and an iframe. I hope the iframe can fill all …

html css iframe
Adding two numbers concatenates them instead of calculating the sum

I am adding two numbers, but I don't get a correct value. For example, doing 1 + 2 returns 12 and not 3 What am …

javascript html
html select only one checkbox in a group

So how can I only allow a user to select only one checkbox? I know radio buttons are "ideal", but …

html checkbox
Fit background image to div

I have a background image in the following div, but the image gets cut off: <div style='text-align:center;…

html css background-image
Should I size a textarea with CSS width / height or HTML cols / rows attributes?

Every time I develop a new form that includes a textarea I have the following dilemma when I need to …

html css textarea
How to affect other elements when one element is hovered

What I want to do is when a certain div is hovered, it'd affect the properties of another div. For …

html css hover