HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.
46
votes
7answers
2k views
Why would one bother marking up properly and semantically?
Note that I (try) to mark up as semantically as possible because I like they way it looks and feels, but not because I'm aware of any other stunning advantages. The point of my question is to be ...
39
votes
9answers
3k views
How do I get started with HTML5? [closed]
What is the recommended workflow to learn HTML5? What tools should I install? What SDK? Where to start? How to test? How to debug? What do I read?
I understand that what is often labelled as "HTML5 ...
38
votes
4answers
1k views
Why not XHTML5?
So, HTML5 is the Big Step Forward, I'm told. The last step forward we took that I'm aware of was the introduction of XHTML. The advantages were obvious: simplicity, strictness, the ability to use ...
35
votes
16answers
16k views
What can I do with programming?
I'm a student studying biochemistry, and I've been learning some programming because I like it and it seems like the more one knows about computers the better. I've learned a good deal of python and ...
30
votes
5answers
7k 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:
...
25
votes
15answers
1k views
What shall I include in a 10 week web technologies course?
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 ...
24
votes
8answers
3k 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
8answers
5k views
Should I write HTML or CSS first?
There are a lot of analogies for HTML/CSS development; which can be a bit confuse for a beginner.
HTML = foundations/house
CSS = walls/blueprint/wallpaper
Is there any best practice here? ...
19
votes
1answer
806 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 ...
19
votes
1answer
350 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 ...
18
votes
11answers
1k views
How to talk a client out of a Flash website?
I have recently been doing a bunch of web side projects through word of mouth recommendations only. Although I am much more a of a programmer than a designer by any means, my design skills are not ...
18
votes
4answers
627 views
Is validating HTML a thing of the past?
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 ...
17
votes
5answers
3k 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 ...
16
votes
12answers
1k 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. ...
16
votes
7answers
3k 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 ...
14
votes
7answers
18k 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 ...
14
votes
4answers
3k views
Why there are no PUT and DELETE methods in 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 ...
13
votes
7answers
1k views
ASP.NET Webforms developers and web designers: how to interact?
I'm an ASP.NET Webforms developer, and I face some problems when I deal with designers.
Designers always complain about the asp.net server controls. They'd rather just have an html file and create ...
13
votes
15answers
700 views
Does anyone put comments in HTML anymore? [closed]
At least in my experience, most of my web applications are not static web pages but dynamic from a scripting engine.
Just curious, does anyone use HTML comments aside from for IE fixes anymore?
13
votes
6answers
3k views
Why no client-side HTML include tag?
I had a question posed to me the other day by another programmer. I remember (a very long time ago) wondering the very same. Why was a browser-side include tag never considered? Or was it?
...
13
votes
4answers
259 views
Are there efforts to build a collaboratively edited HTML/JS/DOM reference?
W3Schools has a reputation of being incomplete, sometimes incorrect, and ridden with advertising; still, when looking to look up some things or link to documentation when answering a SO question, it ...
12
votes
8answers
639 views
Will it ever be possible to build quality websites with editors alone, without needing to know HTML?
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 ...
12
votes
9answers
1k 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 ...
10
votes
4answers
997 views
Which is better: to include HTML inside PHP code or outside it?
Look at this:
<?php
echo "Hello World";
?>
<br />
<?php
echo "Welcome";
?>
And now look at this:
<?php
echo "Hello World";
echo "<br />";
echo "Welcome";
?>
Which ...
10
votes
6answers
645 views
How do you deal with web designers who are too afraid to read and touch PHP code?
I've been hired to make a website and am working with a designer (who happens to be the guy who is in contact with the client and hired me, so no, I can't kick his ass out =) ) who's too afraid to ...
10
votes
5answers
2k views
Why isn't html, css and js used for desktop apps
html, css and js can be used to build beautiful(and useful) ui's (specially with html5 and css3) and lots of people already know them. Though its still way beyond my reach, but how difficult can it be ...
10
votes
6answers
643 views
<!— open --> Why do so many developers do this in their HTML? <!— /close -->
<body>
<!-- wrapper -->
<div id="wrapper">
<!-- title -->
<div id="title"><img src="title.png" alt="" /></div>
<!-- form wrapper -->
...
10
votes
4answers
574 views
Why is HTML/Javascript minification beneficial
Why is HTML/Javascript minification beneficial when the HTTP protocol already supports gzip data compression?
I realize that Javascript/HTML minification has the potential to significantly reduce ...
10
votes
6answers
757 views
Block elements vs inline elements in HTML: why the distinction?
The distinction between block and inline elements always seemed strange to me. The whole difference is that a block element takes up the entire width thus forcing a line break before and after the ...
10
votes
6answers
830 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 ...
9
votes
8answers
1k views
Do I have to learn html and javascript to create web applications?
I am an experienced Java programmer, and I want to create a complex web application requiring dynamic pages, drawings, etc (take SO as an example). Do I have to learn javascript/html in order to ...
9
votes
6answers
551 views
Should I strictly follow every single HTML and CSS Standard?
A few years ago I considered myself somewhat of a web developer, knowing the basic 3 languages (HTML, CSS, JS) and lots of PHP. Moving on from simple text to actual websites was a pain because of the ...
9
votes
5answers
2k views
Why Should I Avoid Inline Scripting?
A knowledgeable friend recently looked at a website I helped launch, and commented something like "very cool site, shame about the inline scripting in the source code".
I'm definitely in a position ...
9
votes
6answers
920 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 ...
8
votes
8answers
2k views
The future of desktop application development [closed]
During the last months there was much written about HTML5 and many big player (Google, Microsoft,....) are planning to accelerate their HTML5 strategy. Google plans a browser based OS. Microsoft also ...
8
votes
12answers
776 views
What are some good ways for an intermediate programmer to build skills?
Preface: I work mostly in Python, and Web Dev languages (HTML, CSS, Javascript and Jquery, PHP)
I'm proficient at coding but I want to get better. In larger more advanced projects my programming ...
8
votes
3answers
555 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 ...
8
votes
4answers
375 views
Why are we still using the DOM in the browser rather than a desktop paradigm
From my understanding, the web interface was developed to use HTML because at the time it wasn't possible to simulate a desktop style application in the browser such as how Silverlight and Flash work, ...
8
votes
3answers
699 views
What are the best practices for rapid prototyping using exclusively HTML/CSS/JS
I'm developing a prototype of a web application. I want to only use HTML, CSS and Javascript. I prefer to use my text editor and not having to learn (or pay, for that matter) a new tool like Axure.
...
8
votes
3answers
696 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. ...
8
votes
6answers
763 views
Code review guidelines for CSS, JS and HTML
I have been asked to create guidelines for review CSS, JS and HTML. I know there are coding guidelines for JS but I don't know any about HTML and CSS. To review JS I will certainly follow those ...
8
votes
4answers
4k 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 ...
7
votes
4answers
2k views
Sandbox for HTML, CSS and Javascript? [closed]
I'm looking for a good sandbox for testing and playing with
those languages online.
Any suggestions?
7
votes
9answers
405 views
These days is it required to test a desktop website for IE6 and IE7? Or is IE8 and IE9 enough?
These days is it required to test a desktop website for IE6 and IE7? Or is IE8 and IE9 enough?
I heard that IE8 has replaced IE7.
7
votes
6answers
1k views
PHP, HTML, Javascript and writing good practices
I realized I have to write down a convention specification about HTML, JavaScript and PHP coding for me and my team.
In web development, just like in C++, I'm definitely a fan of indentation and ...
7
votes
5answers
309 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 ...
7
votes
4answers
298 views
css - use universal '*' selector vs. html or body selector?
Applying styles to the body tag will be applied to the whole page, so
body { font-family: Verdana }
will be applied to the whole page. This could also be done with
* {font-family: Verdana}
...
7
votes
3answers
221 views
Beginning Design as a Programmer
I'm just starting to get in to web development. I'm learning Rails at the moment. I have lots of experience with various programming languages.
I've been searching for books to help me get started; I ...
7
votes
3answers
656 views
Is there a unit testing framework for HTML markup?
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.
...
6
votes
4answers
637 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 ...