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.

AngularJS Error: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https

I have three files of a very simple angular js application index.html <!DOCTYPE html> <html ng-app="…

javascript html angularjs xmlhttprequest
Input placeholders for Internet Explorer

HTML5 introduced the placeholder attribute on input elements, which allows to display a greyed-out default text. Sadly the Internet Explorer, …

javascript html internet-explorer placeholder
Using margin:auto to vertically-align a div

So I know we can center a div horizontally if we use margin:0 auto;. Should margin:auto auto; work how …

html css centering
How to make an element width: 100% minus padding?

I have an html input. The input has padding: 5px 10px; I want it to be 100% of the parent div's …

html css width fluid-layout
Rendering HTML inside textarea

I need to be able to render some HTML tags inside a textarea (namely <strong>, <i>, &…

javascript jquery html textarea
How do I properly escape quotes inside HTML attributes?

I have a drop down on a web page which is breaking when the value string contains a quote. The …

html xhtml escaping
IE8 support for CSS Media Query

Does IE8 not support the following CSS media query: @import url("desktop.css") screen and (min-width: 768px); If not, what …

html css responsive-design internet-explorer-8 media-queries
White space showing up on right side of page when background image should extend full length of page

Our webpage background images are having problems in FireFox as well as Safari in iOS on iPads/iPhones with white …

html css
How to center a (background) image within a div?

Is it possible to center a background image in a div? I have tried just about everything - but no …

html css image background center
Changing element style attribute dynamically using JavaScript

I hav a certain style sheet for a div. Now i want to modify one attribute of div dynamically using …

javascript html css