10_lab

  • Uploaded by: Xiaoli Ma
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 10_lab as PDF for free.

More details

  • Words: 287
  • Pages: 1
DLI 2009

DESIGN LAB ONE

About the Lab Wednesday Classes Workshops

GROCS

DL1

cPortal

Nov. 12 Wed 12 Principles for Keeping Your Code Clean By Chris Coyier Beautiful HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house is only as strong as its foundation, right? The advantages of clean, semantic HTML are many, yet so many websites suffer from poorly written markup. Let’s take a look at some poorly written HTML, discuss its problems, and then whip it into shape! Bear in mind, we are not passing any judgment on the content or design of this page, only the markup that builds it. If you are interested, take a peek at the bad code and the good code before we start so you can see the big picture. Now let’s start right at the top. 1. Strict DOCTYPE If we are going to do this, let’s just do it right. No need for a discussion about whether to use HTML 4.01 or XHTML 1.0: both of them offer a strict version that will keep us nice and honest as we write our code. Our code doesn’t use any tables for layout anyway (nice!), so there really is no need for a transitional DOCTYPE. Resources: * W3C: Recommended DTDs to use in your Web document * Fix Your Site With the Right DOCTYPE! * No more Transitional DOCTYPEs, please

Nov. 12 Wednesday Tea 3:15-5:30 PM December 2009 12345 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

More Documents from "Xiaoli Ma"

Meet Xiaoli Ma
October 2019 29
Xiaoli_a 3-2
June 2020 14
13_lab_designs
December 2019 24
10_lab
November 2019 23
02 Igooglehead Summer
October 2019 33