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.

Changing the selected option of an HTML Select element

In my HTML, I have a <select> with three <option> elements. I want to use jQuery …

javascript jquery html
Favicon: .ico or .png / correct tags?

In a HTML5 document, which favicon format do you recommend and why? I want it to be supported by IE7 …

html png favicon ico
How to allow only one radio button to be checked?

{% for each in AnswerQuery %} <form action={{address}}> <span>{{each.answer}}</span><input type=…

html django forms
what's the easiest way to put space between 2 side-by-side buttons in asp.net

I have 2 buttons side by side, and I would like to have some inbetween them. Following code will have 2 buttons …

html css button space
Why are my CSS3 media queries not working?

In the styles.css, I am using media queries, both of which use a variation of: /*--[ Normal CSS styles ]…

html css media-queries mobile-website
AngularJS: No "Access-Control-Allow-Origin" header is present on the requested resource

I'm writting my webApp and I'm using AngularJS. In this app I have created a file called script.js and …

javascript html angularjs xmlhttprequest cors
How do I scroll to an element using JavaScript?

I am trying to move the page to a <div> element. I have tried the next code to …

javascript html
Basic HTML - how to set relative path to current folder?

Lets say I am currently at: http://example.com/folder/page.html Is it possible to create a relative link …

html path
<code> vs <pre> vs <samp> for inline and block code snippets

My site is going to have some inline code ("when using the foo() function...") and some block snippets. These tend …

html semantic-markup
HTML5 Local storage vs. Session storage

Apart from being non persistent and scoped only to the current window, are there any benefits (performance, data access, etc) …

javascript html local-storage session-storage