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

learn more… | top users | synonyms

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
507 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
262 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
2k 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
353 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
828 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 ...
55
votes
5answers
34k 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
610 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
360 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
696 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
300 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
732 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 ...
2
votes
1answer
3k views

CSS and HTML inconsistent when declaring multiple classes

I'm learning CSS "seriously" for the first time, but I've found that the way you deal with multiple CSS classes in CSS and HTML quite inconsistent. For example, I learned that if I want to declare ...
0
votes
3answers
598 views

Is it possible to determine whether my web site is being accessed as a trusted site?

I am working on site which have a lot of configuration and security settings and I have to check either clients browser is on trusted zone or not using JavaScript. Is it possible to determine whether ...
2
votes
1answer
378 views

Idea of an algorithm to detect a website's navigation structure?

Currently I am in the process of developing an importer of any existing, arbitrary (static) HTML website into the upcoming release of our CMS. While the downloading the files is solved successfully, ...
5
votes
7answers
3k views

How to become a professional web developer from a C/C++ programmer? [closed]

I am currently a high school student and know how to use Pascal and C/C++ to take part in competitions such as the Informatics Olympiad. I have learned data structures and many algorithms to solve ...
1
vote
3answers
622 views

Guidance for a C# developer to become better UI developer

I am a C# developer and had developed simple websites in regular asp.net(with asp.net controls) and a wpf application. Nowadays, I am trying to learn Asp.net MVC3 and I have been exposed to HTML ...
2
votes
1answer
324 views

Where can I learn the most up-to-date standard for HTML and CSS?

I'm looking to learn updated HTML/CSS in preparation for HTML5. Since I am new to this it's hard for me to know which websites are teaching old HTML coding styles and which are teaching the good one. ...
1
vote
5answers
2k views

Is using xml + xsl to create a weekly html email a good or bad idea?

The guy who is in charge of our html emails is leaving and I have been asked to take over. We are an online retailer and send out an email once a week. An email will consist of a main image, a bit of ...
2
votes
2answers
405 views

Should I HTML encode all output from my API?

I am creating a RESTful JSON API to access data from our website where the content is in German. A handful of the fields will return formatted HTML while most are single lines of text although they ...
2
votes
4answers
180 views

XML or HTML for User Manual/Help and Why?

I want to make User Manual/Help to my program. I found two good ways - XML or HTML - which should I use and why? I know how to do it in html (I know how to use js, css and such) but in XML it's ...
6
votes
3answers
754 views

Purpose of ending tags in SGML/HTML/XML?

There are those tags which have immediate effect (< br >) and those which affect what is between them ( < a > < / a > ). Closing tag is verbose, and I believe also redundant: <tag ...
2
votes
2answers
317 views

How to trim all incoming values in an HTTP Post request?

I have an HTML form, with more than 30 fields in it. When this form is submitted to the server, all of the values of the fields should be trimmed. In other words, no value should start/end with any ...
10
votes
6answers
2k views

Alternativates to HTML Help

We currently use a system called AsciiDoc which allows us to create documentation in a simple text markup. From that we can generate multiple output formats. We only make use of the pdf output and chm ...
2
votes
2answers
109 views

What are other technologies that are capable of creating Websites with Animation, Load Detailed Images & Cross Browser

I am a Junior Web Programmer who is tasked with redesigning our website. Right now the website is made in ActionScript using the FLEX API(so its Flash based). I am looking for advice on what ...
83
votes
7answers
16k views

Why are there are no PUT and DELETE methods on HTML forms?

HTML4 / XHTML1 allows only GET and POST in forms, now it seems like HTML5 will do the same. There is a proposal to add these two but it doesn't seem to be gaining traction. What were the technical or ...
3
votes
1answer
367 views

Specifically for JS, CSS, HTML: what is the difference between optimization, compression, minification, tidying, concatenation?

When we talk about source code and the file which contains the code like CSS, HTML, JavaScript and we also talk about performance of a web site or application, what is the differences between these ...
8
votes
4answers
759 views

Why are so many HTML tables used in page markup?

I'm trying to get into web development, so I started learning HTML, CSS, and javascript. I've been coming along really well with javascript, but I still can't make anything with HTML and CSS to save ...
6
votes
2answers
256 views

Web Developers not learning “traditional” techniques?

I ran across this question on SO: http://stackoverflow.com/questions/7373066/webpage-source-code-incomplete-hidden-code Without trying to infer too much or start a side-discussion of the sort that SO ...
4
votes
2answers
162 views

Standards to constraint HTML renderer in only US-EN

Does W3C or any other organisation has standard or protocol to constraint all developers to make sure they must use american english while they develop any sort of interpreter? To avoid something ...
1
vote
3answers
2k views

Is it a good idea to use width and height properties with the < td > tag?

I am new to HTML and Im working on a self made project and I have to use < table > and < fieldset > tags in my html files. I need to set the width and height properties to the tables like ...
12
votes
8answers
769 views

Will it ever be possible to build quality websites with editors alone, without needing to know HTML? [closed]

Lots of big companies, from Apple to Microsoft to Google, are putting more and more money into creating tools that will allow anybody to create a website with a WYSIWYG editor. For example, this ...
4
votes
3answers
158 views

Any ideas for a good way to get HTML Text-To-Speech?

We do online e-learning without using any third party tools like Adobe Captivate / eLearning suite, and it would be great to (somehow) get some text-to-speech going. Is there any way at all to get ...
3
votes
4answers
241 views

Should I rely on Visual Studio in adding HTML and CSS?

I am wondering if I should rely on Visual Studio in adding HTML and CSS elments by using the viusal toolbars or should I write them by myself? Is it considered bad practice if I relied on Visual ...
1
vote
1answer
656 views

which are the best front end web developer blogs [closed]

Looking for recommendations on industry-expert blogs from front-end web developers (emphasising RIA applications; e.g. HTML5, Javascript, AJAX, JQuery, Ext JS). Trying to sort out the best from the ...
25
votes
14answers
2k views

What shall I include in a 10 week web technologies course? [closed]

In September I will be teaching a university module on web technologies. This session will be available to 1st year (freshman) students who don't necessarily have any programming knowledge or know ...
15
votes
9answers
3k views

How much HTML and CSS should server side developer know?

I have done C and C++ and now I want to start my career as a web-developer. I read a lot about web-development and came to know that there were two types of developers on the web, 1. Client Side ...
4
votes
2answers
393 views

What's an expat XML parser?

I found the term here: https://developer.mozilla.org/en/Mozilla_Web_Developer_FAQ I know what a XML parser is. I can't understand; what exactly is an expat XML parser?
3
votes
1answer
272 views

Is it standards-compliant to style the <html> node?

I am working on a website theme. I want to use a repeating background on the <html> node so I can have another background overlapping it on the <body> node. Otherwise, I would add the ...
3
votes
1answer
827 views

html/css/js best practices [duplicate]

Possible Duplicate: What should a developer know before building a public web site? Are there any books or resources on html/css/js and web design best practices? There are plenty books ...
10
votes
3answers
10k views

Relation and differences between SGML, XML, HTML and XHTML

I was wondering what "profile" means in Wikipedia: XML is a profile of an ISO standard SGML, and most of XML comes from SGML unchanged. According to ...
6
votes
2answers
656 views

Correct echoing of html in js?

A colleague and I were discussing how to echo HTML inside of javascript code. Specifically, in a situation similar to this: new Element('div', { html: '{long string of HTML goes here!}' ...
3
votes
2answers
165 views

what exactly is hypertext?

http://en.wikipedia.org/wiki/Hypertext: Hypertext is text displayed on a computer or other electronic device with references (hyperlinks) to other text that the reader can immediately access, ...
9
votes
4answers
7k views

Patterns and practices for Web Scraping in .Net (C#)

I will be putting together an application to automate an external web site/application. In some instances I will need to navigate the site as a user would (some links I need to follow cannot be ...