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.

Retrieve the position (X,Y) of an HTML element relative to the browser window

I want to know how to get the X and Y position of HTML elements such as img and div …

javascript html css dom position
How to select a radio button by default?

I have some radio buttons and I want one of them to be set as selected by default when the …

html radio-button
How do I give text or an image a transparent background using CSS?

Is it possible, using CSS only, to make the background of an element semi-transparent but have the content (text & …

html css opacity
How can I make a div not larger than its contents?

I have a layout similar to: <div> <table> </table> </div> I would …

html css width
jQuery Get Selected Option From Dropdown

Usually I use $("#id").val() to return the value of the selected option, but this time it doesn't work. The …

javascript html jquery drop-down-menu
How do I modify the URL without reloading the page?

Is there a way I can modify the URL of the current page without reloading the page? I would like …

javascript html url url-rewriting friendly-url
Resize image proportionally with CSS?

Is there a way to resize (scale down) images proportionally using ONLY CSS? I'm doing the JavaScript way, but just …

html css image-resizing
Recommended way to embed PDF in HTML?

What is the recommended way to embed PDF in HTML? iFrame? Object? Embed? What does Adobe say itself about it? …

html pdf
Open link in new tab or window

Is it possible to open an a href link in a new tab instead of the same tab? <a …

html tabs hyperlink window href
How to change the href for a hyperlink using jQuery

How can you change the href for a hyperlink using jQuery?

javascript html jquery hyperlink