HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.

learn more… | top users | synonyms

5
votes
1answer
363 views

Conditional attribute in XML - most concise solution?

I am tasked with setting up conditional profiling - a method of tagging chunks of XML with an attribute, which will then be used as a conditional value to extract subset of that XML. Have a look at ...
3
votes
1answer
195 views

today's multi-device world for web development

With the huge explosion of mobile devices and addition of HTML5/CSS3, there seems to be a shift towards "responsive" designs (i.e., adapting to smaller screen sizes) which seems to be achieved using ...
5
votes
2answers
393 views

When should I start the server side coding?

I am creating a website, where users can upload their own videos. So far I am just building the main structure with HTML and CSS. Is it a better practice to write server-side code before the site ...
1
vote
2answers
626 views

Securing client->database game

OK, I am creating a game using JavaScript and HTML5. The variables such as map, x, y, level, exp, etc are stored in JavaScript to keep track. On my client page, the JavaScript variables are stored to ...
1
vote
3answers
129 views

Can the user not manipulate html elements which are disabled for non-permitted user

With todays browser extensions/tools is it not easily possible for a user to edit the html/css settings of a website and so enable some disabled buttons etc... to gain access to not permitted areas?
4
votes
2answers
4k views

Should I still make my site work in non-javascript capable browsers?

Apparently less than 1% had javascript off in 2010: http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/ So is it worth it to still support browsing without ...
34
votes
7answers
33k views

How can I evaluate a candidate's knowledge of Html/CSS during an interview?

I am trying to determine some good interview questions to assess the ability of people coming in for a Html/CSS job, however that topic is extremely broad, and I'm not sure what sort of questions I ...
5
votes
5answers
796 views

Wrong use of CSS3 Animations or not?

Well, I started using some CSS3 animations a couple of days ago. After hardcoding I've started trying different tools like Adobe Edge Preview version. I made a short animation to get the ...
22
votes
1answer
2k views

The Box Model: Internet Explorer vs. W3C

Today, the Internet Explorer Box Model problem is mostly a non-issue. Most web developers place a <!DOCTYPE> tag to enforce standards compliance, and nobody really cares about supporting ...
26
votes
5answers
6k views

Pros and cons of an HTML/JavaScript only web app

I come from an ASP.NET forms background and have found server side coding very powerful in the past. More recently, however, I have been wanting to phase out the server side code of the front-end and ...
6
votes
2answers
302 views

Why is there a leading zero in HTML 4.01 version number?

I've never noticed this quirk until now, and it's screwing with my mind. Why was HTML 4.01 numbered with a leading zero, rather than as 4.1?
0
votes
1answer
305 views

HTML/CSS in Other Spoken languages? [duplicate]

Possible Duplicate: Do people in non-English-speaking countries code in English? Do developers who don't natively speak English still code using english property and tag names? Like, would ...
0
votes
1answer
747 views

Display rich text in tool tip

In this particular website, when you hover your mouse over a particular region, it displays something that is clickable. I know of tool tips, but in my experience, I have only used tool tips to show ...
3
votes
3answers
1k views

Is dynamic HTML layout good from an SEO perspective?

Just wondering whether dynamically built HTML layout is fine from SEO perspectives? So let's assume e-commerce engine and its most popular page - products catalog. So 90% of the page is built using ...
0
votes
1answer
146 views

Syntax logic suggestions

This syntax will be used inside HTML attributes. Here are a few examples of what I have so far: <input name="a" conditions="!b, c" /> <input name="b" /> <input name="c" /> This ...
3
votes
3answers
2k views

How do I prevent useless content load on the page in responsive design?

In responsive design, elements are hidden in the page with @media queries and display: none in CSS. Ok. In my design however browsers that have less than 800px in width should avoid loading some ...
28
votes
8answers
8k views

When should JavaScript generate HTML?

I try to generate as little HTML from JavaScript as possible. Instead, I prefer to manipulate existing markup whenever I can and only generate HTML when I need to dynamically insert an element that ...
23
votes
7answers
11k views

Practical considerations for HTML / CSS naming conventions (syntax) [closed]

Question: what are the practical considerations for the syntax in class and id values? Note that I'm not asking about the semantics, i.e. the actual words that are being used, as for example ...
4
votes
1answer
928 views

Build tools for php, html, css, js web app development

What are some recommendations for a build tool that would allow me to upload changes to a web server or a repository and minify the js and css automatically, and possibly even run Closure compiler on ...
3
votes
1answer
203 views

confusion understanding the fluid 2 column navigation layout

I'm trying to understand the following cross-browser layout: http://matthewjamestaylor.com/blog/perfect-2-column-left-menu.htm but I'm having some confusion with some of its parts and there isn't ...
0
votes
2answers
324 views

How do I capture information from a website that doesn't provide an API?

Do you know any good tutorials, frameworks, anything that can help me to write code that captures information from a website that don't have a public API, or hasn't been written in a RESTful way? ...
-1
votes
1answer
554 views

Browser parsers vs Stand-alone parsers

Firefox/Chromium have well implemented(?) parsers. Then why are parsers like lxml and other such parsers being developed with so much effort put into it? Aren't they re-inventing the wheel? Or are ...
1
vote
1answer
152 views

Standard way to generate HTML prototypes?

I used to get PSD files and generate HTML prototypes from them which are supposed to be exact replica of these PSDs. The process I follow is simplest one generate plain HTML pages for each PSD. But I ...
3
votes
5answers
649 views

Is it advisable to force your web server to parse HTML files for PHP code?

I can't remember what site I glanced over and picked up that tidbit, but someone suggested that you should keep PHP parsing to .PHP files, and not modify one's webserver's htaccess to include PHP ...
-2
votes
2answers
336 views

Simple questions about apache and cgi

I'm just learning about using cgi in html files. I've read a lot of stuff on the web, but most of it is all about the trees and not enough about the forest. I'm a top-down learner and I'm having ...
3
votes
5answers
321 views

How would you architect an application which is largely a collection of flowcharts?

I am working with a history teacher on a history app. He has like 200 flowcharts that he wants to put into the app (among other things). The two likeliest-looking ways to do it: HTML/CSS. The big ...
7
votes
6answers
367 views

Is it a problem to have different styles of HTML coding within team?

I with 2 other friends are new to web development. We are learning HTML, CSS, Javascript and are creating simple websites to get a feel of different things. And as HTML is only a markup and not a ...
0
votes
3answers
800 views

Can resizing images with css be good?

After reading Is CSS resizing of images still a bad idea?, I thought of a similar question. (too similar? should this be closed?) Lets say you need to use 10 different product image sizes throughout ...
7
votes
3answers
2k views

Is CSS resizing of images still a bad idea?

It's always been looked at that using width/height attributes on images which aren't what the original image actual is is a bad idea. It could mean pixalated images or download sizes bigger than ...
2
votes
2answers
6k views

Percent or Pixels HTML/CSS

Coding a new website. Basically, for position elements using CSS I would use percents and figured that was the best thing to do since everyone's monitor was a different size. But I noticed a lot of ...
4
votes
4answers
765 views

When are scripts inside HTML not considered a bad practice?

I am new to web development. While studying the Play framework and JSP, I noticed that they both give an option to place script (in jsp scriptlet) inside HTML, but in both books I am reading they both ...
18
votes
4answers
707 views

Is validating HTML a thing of the past? [duplicate]

With us moving continually closer to HTML5 in terms of adoption, is writing HTML for validity something the web is rejecting, allowing us to straddle standards as the web continues to be in a ...
18
votes
12answers
2k views

Should I use non-standard tags in a HTML page for highlighting words?

I would like to know if it's a good practice or legal to use non-standard tags in an HTML page for certain custom purposes. For example: Lorem ipsum dolor sit amet, consectetur adipiscing elit. ...
1
vote
8answers
500 views

Should PHP view files be called something other than '.php'?

By default, any file that PHP touches is usually suffixed with .php. It's universally understood by Apache / Nginx as the default for PHP files and most setups expect PHP files to end in this ...
11
votes
6answers
1k views

How can I write HTML, CSS, and JavaScript to make back-end developers work easier?

When I get a design from a designer, I get it as a PSD (Photoshop) file. I always expect proper layer and folder names, basically a clean and managed PSD. From this desigbn I develop HTML, CSS and ...
0
votes
3answers
252 views

What should the main content area be called?

I'm working on a CMS that will be used by others and I'm trying to figure out what the main body of the site page should be called. Originally, I was going to call it "content" - but perhaps "body" ...
6
votes
2answers
2k views

Is there a unit testing framework for HTML markup? [closed]

I work at a web design shop. Our workflow is divided into two parts: frontend programmers make static html and css templates of the site design, then backend programmers tie the templates into a CMS. ...
2
votes
4answers
1k views

Easiest way to create static HTML file with sortable and filterable table?

I want to create a static HTML file I can email to someone with a lot of data, and have that data sortable and filterable. What is the easiest to use library or package I can use to get this off the ...
0
votes
2answers
339 views

Creating a web application to concatenate strings to unify naming conventions

I've been tasked with creating a small web application, where users have a series of forms (I can't currently think of a better way of doing this) which will contain, either a)text input fields or ...
8
votes
3answers
806 views

How to properly validate your code?

I have about 4000 lines of code for a web-application in JavaScript / PHP / CSS / HTML. How can I test it properly? I only support the latest version of IE and Safari. I've worked out all the bugs. ...
12
votes
3answers
1k views

Why does HTML TextArea have its own HTML tag? [closed]

<input id='input1' type='text'></input> <input id='input2' type='button'></input> <input id='input3' type='checkbox'><input> <textarea ...
52
votes
5answers
28k views

Two HTML elements with same id attribute: How bad is it really?

Just browsing the google maps source code. In their header, they have 2 divs with id="search" one contains the other, and also has jstrack="1" attribute. There is a form separating them like so: ...
1
vote
3answers
589 views

Generating presentation elements with Javascript vs PHP

What are the pros and cons of generating dynamic pages with javascript vs doing it in PHP? As an example, I want to display certain records from some database in a table and I'm considering the ...
19
votes
1answer
358 views

How should HTML data formats be applied in everyday situations?

Given Google's shift towards a stronger focus on page markup data, how do the data formats used in Schema.org work alongside those for Microformats? How do these (and other specs) compliment each ...
1
vote
2answers
661 views

are there any tools to convert general purpose XML to HTML? [closed]

I don't know how to say... The XIB is using xml to store the UIElement information, similar to .Net GUI. Is there any open source stuff also convert the xml file to a html layout?
2
votes
2answers
2k views

When should I use a CSS class over inline styling?

I have some hidden divs that I show via JavaScript when a button is clicked. Right now, I'm hiding them with by using inline styling (i.e. style="display:none;"). This works, but are there general ...
1
vote
3answers
295 views

Introductory to Web programming but with Experience [duplicate]

Possible Duplicate: What should every programmer know about web development? I'm not sure where to start with web development. I have experience with HTML and PHP fundamentals and have ...
5
votes
6answers
689 views

when to load partial views

When creating a website, when should you load partial view and when should you do a complete page refresh? I was looking at github's site and noticed that pretty much the only place they do partial ...
6
votes
2answers
2k views

Dynamically generating HTML and CSS [closed]

I find writing CSS by hand to be extremely tedious. Coming across a concept such as fluid, makes me want to write all my websites so that the CSS resizes nicely and looks the same in different ...
0
votes
1answer
93 views

Branding websites aimed for mobile devices [closed]

I'm currently working on a website which is also supposed to be mobile optimized. My client has provided me with a layout of how the mobile version of how the website should look like. Making their ...