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.

Adjust width and height of iframe to fit with content in it

I need a solution for auto-adjusting the width and height of an iframe to barely fit its content. The point …

javascript html iframe adjustment
How do I create a new line in Javascript?

var i; for(i=10; i>=0; i= i-1){ var s; for(s=0; s<i; s = s+1){ document.write("*"); } //i …

javascript html newline line-breaks
How to style the option of an html "select" element?

Here's my HTML: <select id="ddlProducts" name="ddProducts"> <option>Product1 : Electronics </option> <option&…

html css drop-down-menu
How to show an alert box in PHP?

I want to display an alert box showing a message with PHP. Here is my PHP code: <?php header("…

php javascript html alert
Make a div into a link

I have a <div> block with some fancy visual content that I don't want to change. I want …

css html xhtml anchor
How to set a value to a file input in HTML?

How can I set the value of this? <input type="file" />

javascript html file-upload preset
How to make a HTML Page in A4 paper size page(s)?

Is it possible to make a HTML page behave, for example, like a A4-sized page in MS Word? Essentially, …

html css printing
Embedding Base64 Images

Purely out of curiosity, which browsers does Base64 image embedding work in? What I'm referring to is this. I realize …

html base64 browser
HTML / CSS How to add image icon to input type="button"?

I'm using the below CSS, but it puts an image in the center of the button. Any way to left …

html css
How can I create download link in HTML?

I have a basic idea of HTML. I want to create the download link in my sample website, but I …

html download