html

web development

An Exercise Program for the Fat Web

When I wrote about App-pocalypse Now [https://blog.codinghorror.com/app-pocalypse-now/] in 2014, I implied the future still belonged to the web. And it does. But it's also true that the web has changed a lot in the last 10 years, much less the last 20 or 30.

By Jeff Atwood ·
Comments

css

What's Wrong With CSS

We're currently in the midst of a CSS Zen Garden type excerise on our family of Q&A websites, which I affectionately refer to as "the Trilogy": * Server Fault * Super User * Stack Overflow * Meta Stack Overflow (In case you were wondering, yes, meta is the

By Jeff Atwood ·
Comments

html

HTML Validation: Does It Matter?

The web is, to put it charitably, a rather forgiving place. You can feed web browsers almost any sort of HTML markup or JavaScript code and they'll gamely try to make sense of what you've provided, and render it the best they can. In comparison, most

By Jeff Atwood ·
Comments

html

You're Doing It Wrong

In The Sad Tragedy of Micro-Optimization Theater we discussed the performance considerations of building a fragment of HTML. string s = @"<div class=""action-time"">{0}{1}</div> <div class=""gravatar32"">{2}</div> <div

By Jeff Atwood ·
Comments

asp.net mvc

Web Development as Tag Soup

As we work with ASP.NET MVC on Stack Overflow, I find myself violently thrust back into the bad old days of tag soup that I remember from my tenure as a classic ASP developer in the late 90's. If you're not careful bordering on manically

By Jeff Atwood ·
Comments

html

Is HTML a Humane Markup Language?

One of the things we're thinking about while building stackoverflow.com [http://stackoverflow.com/] is how to let users style the questions and answers they're entering on the site. Nothing's decided at this point, but we definitely won't be giving users one

By Jeff Atwood ·
Comments

javascript

JavaScript and HTML: Forgiveness by Default

I've been troubleshooting a bit of JavaScript lately, so I've enabled script debugging [http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx] in IE7. Whenever the browser encounters a JavaScript error on a web page, instead of the default, unobtrusive little status bar notification.

By Jeff Atwood ·
Comments

html

It's a Malformed World

Bill de hra [http://www.dehora.net/journal/] recently highlighted a little experiment Ian Hickson ran [http://lists.w3.org/Archives/Public/www-tag/2006Aug/0048.html] in August: > I did a short study recently checking only for syntax errors in HTML documents, and the results were that of the

By Jeff Atwood ·
Comments

html

Progressive Image Rendering

I'm a big fan of showing the user visual feedback as soon as possible, whether you're downloading a web page or rendering a windows form. Images already render progressively in a web browser -- but you can do even better. Simply save your GIF or PNG

By Jeff Atwood ·
Comments

html

The Lost Art of Progressive HTML Rendering

One thing I dislike about ASP.NET is that it renders the entire web page in memory before sending one single byte of that page to the browser. Consider an ASP.NET page with an embedded DataGrid that relies on ten complex database queries over 15 seconds. Why can'

By Jeff Atwood ·
Comments

programming languages

Copying Visual Studio Code Snippets to the Clipboard as HTML

As I mentioned in Formatting HTML code snippets with Ten Ton Wrecking Balls, copying code to your clipboard in Visual Studio is often an excercise in futility if you want anything more than plain vanilla text. VS copies code to the clipboard with bizarro-world RTF formatting instead of the sane,

By Jeff Atwood ·
Comments