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.

jQuery on window resize

I have the following JQuery code: $(document).ready(function () { var $containerHeight = $(window).height(); if ($containerHeight <= 818) { $('.footer').css({ position: …

jquery html css
Submitting a form by pressing enter without a submit button

Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want …

html forms submit
Changing button text onclick

When I click on myButton1 button, I want the value to change to Close Curtain from Open Curtain.HTML: <…

javascript html button onclick
Submitting a form on 'Enter' with jQuery?

I have a bog-standard login form - an email text field, a password field and a submit button on an …

javascript jquery html webkit forms
How do I clear the content of a div using JavaScript?

When the user clicks a button on my page, the content of a div should be cleared. How would I …

javascript html css
100% width background image with an 'auto' height

I'm currently working on a mobile landing page for a company. It's a really basic layout but below the header …

html css background-image responsive responsive-images
Display text on MouseOver for image in html

I would like to display text when the user mouseovers the image. How can I do this in HTML/JS?

html image
How to word wrap text in HTML?

How can text like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa which exceeds the width of a div (say 200px) be wrapped? I am open to …

html css word-wrap
How to make a DIV visible and invisible with JavaScript

Can you do something like function showDiv() { [DIV].visible = true; //or something }

javascript html
What is sr-only in Bootstrap 3?

What is the class sr-only used for? Is it important or can I remove it? Works fine without. Here's my …

html css twitter-bootstrap twitter-bootstrap-3