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

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

ICT 6012: Web Programming

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

Website Planning Checklist

Introduction to Web Design Curriculum Sample

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

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

Introduction to XHTML. 2010, Robert K. Moniot 1

HTML, CSS, XML, and XSL

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

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

Creating an HTML Document Using Macromedia Dreamweaver

CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

An Attribute is a special word used inside tag to specify additional information to tag such as color, alignment etc.

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

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

Web Design with Dreamweaver Lesson 4 Handout

Creating HTML authored webpages using a text editor

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

Basic Website Maintenance Tutorial*

How to Create an HTML Page

Creating a Resume Webpage with

Building Web Applications with HTML5, CSS3, and Javascript: An Introduction to HTML5

Web Development 1 A4 Project Description Web Architecture

HTML & XHTML Tag Quick Reference

LAB MANUAL CS (22): Web Technology

How to code, test, and validate a web page

Semantic HTML. So, if you're wanting your HTML to be semantically-correct...

ebooks: Exporting EPUB files from Adobe InDesign

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

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Web Design and Development ACS Chapter 9. Page Structure

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

ITNP43: HTML Lecture 4

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

HTML Basics(w3schools.com, 2013)

Selectors in Action LESSON 3

Embedding a Data View dynamic report into an existing web-page

CS412 Interactive Lab Creating a Simple Web Form

With tags you can create italic or bold characters, and can control the color and size of the lettering.

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

Advanced Drupal Features and Techniques

7 th Grade Web Design Name: Project 1 Rubric Personal Web Page

The McGill Knowledge Base. Last Updated: August 19, 2014

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014

How to Manage Your Eservice Center Knowledge Base

Using an external style sheet with Dreamweaver (CS6)

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

Accessibility in e-learning. Accessible Content Authoring Practices

Version 4.0. Unit 3: Web Design. Computer Science Equity Alliance, Exploring Computer Science Unit 3: Web Design 102

Your First Web Page. It all starts with an idea. Create an Azure Web App

Step by step guides. Deploying your first web app to your FREE Azure Subscription with Visual Studio 2015

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

ICE: HTML, CSS, and Validation

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

AJAX The Future of Web Development?

JavaScript: Introduction to Scripting Pearson Education, Inc. All rights reserved.

Making Web Application using Tizen Web UI Framework. Koeun Choi

QQ WebAgent Quick Start Guide

Web Accessibility Guidelines. For UN Websites

CST 150 Web Design and Development I Midterm Exam Study Questions Chapters 1-3

Concordion. Concordion. Tomo Popovic, tp0x45 [at] gmail.com

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.

Outline of CSS: Cascading Style Sheets

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

WIRIS quizzes web services Getting started with PHP and Java

ISBN-13: ISBN-10: Cengage Learning International Offices

Dreamweaver CS6 Basics

BlueHornet Whitepaper

Create Webpages using HTML and CSS

Web Programming with XHTML

SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO COURSE OUTLINE

Internet Technologies

Programming the Web 06CS73 SAMPLE QUESTIONS

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Quick Guide to the Cascade Server Content Management System (CMS)

Website Login Integration

Short notes on webpage programming languages

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

The Web Web page Links 16-3

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

Accessibility Guidelines Bell.ca Special Needs. Cesart April 2006

Introduction to Web Development

Advanced Web Design. Zac Van Note.

Transcription:

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

First Web Page <!doctype html> <html > an opening tag... page info goes here </html> a closing tag

Head & Body Sections Head Section Contains information that describes the web page document <head> head section info goes here </head> Body Section Contains text and elements that display in the web page document <body> body section info goes here </body>

HTML <title> and <meta> tags <!doctype html> <html lang="en"> <head> <title>my First Web Page</title> <meta charset="utf-8" > </head> <body>... Body info goes here </body> </html>

The Heading Element <h1>heading Level 1</h1> <h2>heading Level 2</h2> <h3>heading Level 3</h3> <h4>heading Level 4</h4> <h5>heading Level 5</h5> <h6>heading Level 6</h6>

The Paragraph Element <p> tag Paragraph element <p> paragraph goes here </p> Groups sentences and sections of text together. Configures empty space above and below the paragraph

The Line Break Element <br> tag Line Break element Stand-alone tag Called a void element in HTML5 text goes here <br> This starts on a new line. Causes the next element or text to display on a new line

The Horizontal Rule Element <hr> tag Horizontal Rule element void element <hr > Configures a horizontal line on the page In HTML5, it should be used to indicate a thematic break at the paragraph level

The Blockquote Element <blockquote> Blockquote element Indents a block of text for special emphasis <blockquote> text goes here </blockquote>

Phrase Elements Indicate the context and meaning of the text Display inline with the text Common Phrase Elements <b></b> Text is displayed in bold font <strong></strong> Text has strong importance and is displayed in bold <i></i> Text is displayed in italic font <em></em> Text has emphasis and is displayed in italic font <u></u> Text is displayed in underlined font

Proper Nesting INVALID CODE: <p><i><b>this is bold and italic</i></b></p> You must close the most recently opened tag first. VALID CODE: <p><i>call for a <u>free quote</u> for your web development needs: <strong>888.555.5555 </strong></i></p> BROWSER DISPLAY: Call for a free quote for your web development needs: 888.555.5555 11

HTML List Basics Unordered List Ordered List Description List (XHTML Definition List)

Unordered List Displays information with bullet points Unordered List Element <ul> Contains the unordered list List Item Element <li> Contains an item in the list

Unordered List Example <h1>my Favorite Colors</h1> <ul> <li>blue</li> <li>teal</li> <li>red</li> </ul>

Ordered List Conveys information in an ordered fashion Ordered List Element <ol> Contains the ordered list type attribute determines numbering scheme of list default is numerals List Item Element <li> Contains an item in the list

Ordered List Example <ol> <li>apply to school</li> <li>register for course</li> <li>pay tuition</li> <li>attend course</li> </ol>

Description List Formerly called a definition list in XHTML and HTML 4.0 Uses: Display a list of terms and descriptions Display a list of FAQ and answers The Description List element <dl> tag Contains the definition list The dt Element <dt> tag Contains a term or name The dd Element <dd> tag Contains a definition or description Indents the text

Description List Example <dl> <dt>ip</dt> <dd>internet Protocol</dd> <dt>tcp</dt> <dd>transmission Control Protocol</dd> </dl>

Special Entity Characters Display special characters such as quotes, copyright symbol, etc. Character Code < < > > & &

The div element <div> Purpose: Configure a specially formatted division or area of a web page Block display with empty space above and below the div Can contain other block display and inline display elements 20

HTML5 Structural Elements Header Element <header></header> Contains the web page document s headings Nav Element <nav></nav> Contains web page document s main navigation Footer Element <footer></footer> Contains the web page document s footer 21

HTML5 Structural Elements Example: <body> <header> document headings go here </header> <nav> main navigation goes here </nav> <div> main content goes here </div> <footer> document footer information goes here </footer> </body> 22

Writing Valid HTML Check your code for syntax errors Benefit: Valid code more consistent browser display W3C HTML Validation Tool http://validator.w3.org Additional HTML5 Validation Tool http://html5.validator.nu