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.

How do I link a JavaScript file to a HTML file?

How do you properly link a JavaScript file to a HTML document? Secondly, how do you use jQuery within a …

javascript jquery html
Open URL in same window and in same tab

I want to open a link in the same window and in the same tab that contains the page with …

javascript html hyperlink href
Best way to center a <div> on a page vertically and horizontally?

Best way to center a <div> element on a page both vertically and horizontally? I know that margin-left: …

html css alignment vertical-alignment centering
Change the image source on rollover using jQuery

I have a few images and their rollover images. Using jQuery, I want to show/hide the rollover image when …

jquery html
Place a button right aligned

I use this code to right align a button. But <p> tags wastes some space, so looking to …

html css
Make body have 100% of the browser height

I want to make body have 100% of the browser height. Can I do that using CSS? I tried setting height: 100%, …

html css height
Pass a string parameter in an onclick function

I would like to pass a parameter (i.e. a string) to an Onclick function. For the moment, I do …

javascript html
Can HTML checkboxes be set to readonly?

I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting …

html checkbox
How to clear the canvas for redrawing

After experimenting with composite operations and drawing images on the canvas I'm now trying to remove images and compositing. How …

javascript html canvas html5-canvas composite
How do you get centered content using Twitter Bootstrap?

I'm trying to follow a very basic example. Using the starter page and the grid system, I was hoping the …

html css twitter-bootstrap