Skip to main content

Questions tagged [html]

HTML (HyperText Markup Language) is the markup language for creating web pages and other information to be displayed in a web browser. Questions regarding HTML should include a minimal reproducible example and some idea of what you're trying to achieve. This tag is rarely used alone and is often paired with CSS and JavaScript.

39 votes
27 answers
18k views

Should Tables be avoided in HTML at any cost? [duplicate]

It is advisable to use tables in HTML pages (now that we have CSS)? What are the applications of tables? What features/abilities does tables have that are not in CSS? Related Questions Tables instead ...
Niyaz's user avatar
  • 54.5k
12 votes
9 answers
29k views

HTML drag and drop sortable tables

Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something I'd die for. There's a lot of sortable lists going around but finding a ...
JHollanti's user avatar
  • 2,393
1 vote
8 answers
1k views

producing 2 or more short sounds when a web page loads

I have 6 sound files (1.wav 2.wav etc..) of which 3 different ones have to be heard each time the web page opens. The numbers are selected randomly. I have tried multiple "embeds" but only the last ...
user15588's user avatar
53 votes
8 answers
218k views

How to get the file path from HTML input form in Firefox 3

We have simple HTML form with <input type="file">, like shown below: <form> <label for="attachment">Attachment:</label> <input type="file" name="attachment" id="...
m_pGladiator's user avatar
  • 8,582
1079 votes
30 answers
2.0m views

How can I vertically align elements in a div?

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS ...
Abdu's user avatar
  • 16.4k
624 votes
17 answers
1.4m views

How do I programmatically set the value of a select box element using JavaScript?

I have the following HTML <select> element: <select id="leaveCode" name="leaveCode"> <option value="10">Annual Leave</option> <option value="11">Medical Leave</...
brasskazoo's user avatar
  • 77.9k
116 votes
41 answers
35k views

Is XSLT worth it? [closed]

A while ago, I started on a project where I designed a html-esque XML schema so that authors could write their content (educational course material) in a simplified format which would then be ...
2 votes
11 answers
1k views

Which JavaScript library is recommended for neat UI effects? [closed]

I need a JavaScript library that supports Ajax as well as help me in making simple and neat animation effects in a website I am working on. Which library do you recommend?
Niyaz's user avatar
  • 54.5k
6 votes
14 answers
1k views

What emails clients are being used out there?

This is not "exactly" a programming question, but it's highly related. We are writing an app that sends out email invitations for a client (no, it's not spam). Their designer gave us an HTML and CSS ...
John Virgolino's user avatar
7 votes
6 answers
504 views

CSS "frameworks" that account for browser irregularities?

I build websites for a small-ish media company. Unfortunately, around 45-50% of our client base uses IE6, while the other half are pretty much equally split between Firefox and Webkit-based browsers, ...
Lincoln Johnson's user avatar
1 vote
6 answers
697 views

Page can not be displayed

I've got a client that sees the "Page can not be displayed" (nothing else) whenever they perform a certain action in their website. I don't get the error, ever. I've tried IE, FF, Chrome, and I do ...
Matt's user avatar
  • 556
92 votes
17 answers
207k views

Change the color of a bullet in a html list?

All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it. I know I could just use an image; I'd rather not do ...
Dave Haynes's user avatar
  • 3,773
12 votes
4 answers
2k views

How can I make Internet Explorer not change the colors in my PNG images

When using PNG files (made with Paint.NET) as background images on my web site, IE7 is changing the colors and actually displaying a darker version of my images, as seen here. In this image, the dark ...
Martin Plante's user avatar
5 votes
7 answers
770 views

Not using widths & padding/margins on the same element?

I've seen numerous people mentions that you shouldn't use widths and padding or margins on the same element with CSS. Why is that?
davethegr8's user avatar
  • 11.5k
1 vote
5 answers
730 views

Are there any projects for replacing HTML and the current javascript?

Google created protocol buffers as a replacement for the bulky XML method of data transition. Faster XML processing was just not good enough. Most of the web has grown up as a hodge podge of ...
Stradas's user avatar
  • 1,778

15 30 50 per page