Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library joe.gilbert@virginia.

Similar documents
Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Web Design and Databases WD: Class 7: HTML and CSS Part 3

ITNP43: HTML Lecture 4

Web Development 1 A4 Project Description Web Architecture

Outline of CSS: Cascading Style Sheets

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Selectors in Action LESSON 3

CIS 467/602-01: Data Visualization

Web Design I. Spring 2009 Kevin Cole Gallaudet University

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

ICE: HTML, CSS, and Validation

HTML, CSS, XML, and XSL

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

Style & Layout in the web: CSS and Bootstrap

Create Webpages using HTML and CSS

Introduction to Web Design Curriculum Sample

HTML TIPS FOR DESIGNING

So we're set? Have your text-editor ready. Be sure you use NotePad, NOT Word or even WordPad. Great, let's get going.

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Campaign Guidelines and Best Practices

Website Planning Checklist

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Introduction to XHTML. 2010, Robert K. Moniot 1

Web Design with CSS and CSS3. Dr. Jan Stelovsky

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

Using Style Sheets for Consistency

Web Authoring CSS. Module Descriptor

{color:blue; font-size: 12px;}

CSS - Cascading Style Sheets

Web Design and Development ACS Chapter 9. Page Structure

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots

CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

Creating a Resume Webpage with

Interactive Data Visualization for the Web Scott Murray

CST 150 Web Design I CSS Review - In-Class Lab

Cascading Style Sheets (CSS)

How to Properly Compose HTML Code : 1

MCH Strategic Data Best Practices Review

CSS for Page Layout. Key Concepts

How to code, test, and validate a web page

Creating HTML authored webpages using a text editor

CHAPTER 10. When you complete this chapter, you will be able to:

Using an external style sheet with Dreamweaver (CS6)

Website Development. 2 Text. 2.1 Fonts. Terry Marris September We see how to format text and separate structure from content.

Short notes on webpage programming languages

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Making Web Application using Tizen Web UI Framework. Koeun Choi

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

<script type="text/javascript"> var _gaq = _gaq []; _gaq.push(['_setaccount', 'UA ']); _gaq.push(['_trackpageview']);

Table of Contents THE DESIGNER S GUIDE TO CREATING NEWZAPP DRAG AND DROP TEMPLATES... 6 THE NEWZAPP SYSTEM... 7

How to Create a Mobile Responsive Template in ExactTarget

BlueHornet Whitepaper

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Introduction to Adobe Dreamweaver CC

Designing HTML s for Use in the Advanced Editor

Programming the Web 06CS73 SAMPLE QUESTIONS

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Advanced Web Design. Zac Van Note.

Chapter 8 More on Links, Layout, and Mobile Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Script Handbook for Interactive Scientific Website Building

Accessibility in e-learning. Accessible Content Authoring Practices

ICT 6012: Web Programming

Website Login Integration

Responsive Design

8 STEPS TO CODE KILLER RESPONSIVE S

How to Create an HTML Page

Web Development I & II*

COMP519 Web Programming Autumn Cascading Style Sheets

Web Design & Development - Tutorial 04

Creating a Web Page Using HTML, XHTML, and CSS: The Basics

Create Your own Company s Design Theme

Basic Website Maintenance Tutorial*

The purpose of jquery is to make it much easier to use JavaScript on your website.

Creative Guidelines for s

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

LAB MANUAL CS (22): Web Technology

AJAX The Future of Web Development?

Base template development guide

WEB PROGRAMMING LAB (Common to CSE & IT)

Transcription:

Web Building Blocks Core Concepts for HTML & CSS Joseph Gilbert User Experience Web Developer University of Virginia Library joe.gilbert@virginia.edu @joegilbert

Why Learn the Building Blocks? The idea that you could make a website and not know HTML blows my mind because it s like building a building and not knowing what a brick is You can be a CSS wizard or you can know the basics, but you should at least have some foundational knowledge of what your building material is. - Ryan Singer, 37Signals Image CC licensed by Flickr user arenamontanus

Why Learn the Building Blocks? Helps us understand the medium of the web Facilitates better design decisions Fosters accessible, responsive, findable sites Image CC licensed by Flickr user f- l- e- x

Building Blocks What we ll learn bit.ly/wbb- final

Building Blocks Content text, images, video Structure layout, order, grouping Style & Presentation color, size, margins, typeface Behavior clicking, submitting forms, dragging Image CC licensed by Flickr user trioxic

Building Blocks Behavior (JavaScript) Presentation (CSS) Structure (HTML & CSS) Content (HTML)

Building Blocks: HTML Content + Structure <!doctype html>! <html>! <head>! <title>my First Page</title>! </head>! <body>! <h1>hello, World!</h1>! <p>welcome to my site.</p>! </body>! </html>!

Building Blocks: HTML DOM: Document Object Model html ancestor parent head child body descendant title h1 p

Building Blocks: HTML Elements, Nodes, Tags, Attributes, IDs, and Classes <p id= welcome class= notice >! <span class= first intro-word >Welcome</span> to my site.! </p>

Building Blocks: HTML abstract: <div> <span> links & images: <a href= catalog.html >! <img src= banner.jpg alt= Return to the home page > structure: <h1> <h6> <p> <ul> <ol> <li> <table> <tr> <td> emphasis: <em> <strong>

Building Blocks: HTML Play around! bit.ly/wbb-html

Building Blocks: HTML Semantic Markup Use the element that best describes the role of the content it contains. Avoid using elements simply for presentational effect. Common culprits: <b>, <i>, <table>, <br>!

Building Blocks: HTML inline elements block elements

Building Blocks: HTML Structure of an XHTML Document

Building Blocks: HTML Structure of an HTML5 Document

Building Blocks: HTML Outline of an HTML5 Document 1. Header! 1. Navigation! 2. Article! 1. Section One! 2. Section Two! 3. Sidebar! 2. Footer! Section-related elements: <body>, <section>, <article>, <aside>, <footer>, <header>, and <nav>! Implicit section elements: <h1>, <h2>,, <h6>! More info: mzl.la/wbb-outline

Building Blocks bit.ly/wbb- plain

Building Blocks: CSS Cascading Style Sheets selector {! property: value;! }

Building Blocks: CSS Selectors p!.notice! #welcome! p.notice!.first.intro-word! div.notice! a:hover! #welcome.notice span!.notice,.warning

Building Blocks: CSS Selectors: going down? #welcome.no@ce span

Building Blocks: CSS Inheritance <p><span class= notice id= top-note >Welcome</span></p> span.no@ce p.no@ce #top- note p #top- note

Building Blocks: CSS Properties & Values height: 100px;! width: 50%;! color: #FF0000;! background-color: #000;! font-size: 12pt;! font-family: Times New Roman, serif;! font-weight: bold;! text-align: center;! display: block;! float: left;! padding: 3em;! margin: 10px 20px 5px 10px;!

Building Blocks: CSS Box Model From inside to outside: Content Padding Border Margin

Building Blocks: CSS Positioning

Building Blocks bit.ly/wbb-css

Key Concepts Think DOM envision the overall structure of HTML Keep it Semantic & Separate maintain division of content & style Inherit Style leverage the cascade in CSS Learn the Tools of Layout master the box model and floating/positioning Stay Curious! read, write, create

Building Blocks: Resources Tutorials & Reference Design Tools W3Schools w3schools.com HTML Dog htmldog.com HTML5 Doctor html5doctor.com Dive into HTML5 diveintohtml5.org A List Apart alistapart.com Smashing Magazine smashingmagazine.com Boxes and Arrows boxesandarrows.com SpeckyBoy speckyboy.com Investigate Firebug (getfirebug.com), Chrome Developer Tools Validate W3C Validator (validator.w3.org) Edit TextWrangler, Notepad++, CSS Edit

Thanks! Questions? joe.gilbert@virginia.edu