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.

Set timeout for ajax (jQuery)

$.ajax({ url: "test.html", error: function(){ //do something }, success: function(){ //do something } }); Sometimes success function works good, sometimes not. How …

javascript jquery html css ajax
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 do I add spacing between columns in Bootstrap?

I'm sure there is a simple solution to this problem. Basically, if I have two columns how can I add …

html css twitter-bootstrap-3 grid-layout
How do I get a value of a <span> using jQuery?

This is basic. How do I get the value 'This is my name' of the above span? <div id=…

javascript jquery html
maxlength ignored for input type="number" in Chrome

The maxlength attribute is not working with <input type="number">. This happens only in Chrome. <input type="…

html google-chrome
Use Fieldset Legend with bootstrap

I'm using Bootstrap for my JSP page. I want to use <fieldset> and <legend> for my …

html css forms twitter-bootstrap
Removing an item from a select box

How do I remove items from, or add items to, a select box? I'm running jQuery, should that make the …

javascript jquery html html-select
SVG drop shadow using css3

Is it possible to set drop shadow for an svg element using css3 , something like box-shadow: -5px -5px 5…

html css svg svg-filters
How to display a confirmation dialog when clicking an <a> link?

I want this link to have a JavaScript dialog that asks the user “Are you sure? Y/N”. <a …

javascript html dom-events
Do you have to include <link rel="icon" href="favicon.ico" type="image/x-icon" />?

I didn't include the following line of code in my head tag, however my favicon still appears in my browser: &…

html favicon