Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Similar documents
CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

HTML 1: Overview. Chapter 2

INTRODUCTION TO HTML5! HTML5 Page Structure!

HTML CS 4640 Programming Languages for Web Applications

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

HTML+ CSS PRINCIPLES. Getting started with web design the right way

Programmazione Web a.a. 2017/2018 HTML5

MPT Web Design. Week 1: Introduction to HTML and Web Design

GRAPHIC WEB DESIGNER PROGRAM

HTML 1: Overview. Chapter 2

c122jan2714.notebook January 27, 2014

More about HTML. Digging in a little deeper

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Markup Language. Made up of elements Elements create a document tree

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Management Information Systems

HTML Hyper Text Markup Language

Introduction to Computer Science Web Development

CSC Web Programming. Introduction to HTML

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

11. HTML5 and Future Web Application

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

Web Site Design and Development Lecture 3. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

HTML. HTML Evolution

HTML and CSS COURSE SYLLABUS

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Certified HTML5 Developer VS-1029

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5

Creating and Building Websites

Styles, Style Sheets, the Box Model and Liquid Layout

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Introduction to WEB PROGRAMMING

Data Visualization (CIS/DSC 468)

Static Webpage Development

LAB 2 INTRODUCTION TO HTML

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Website Development with HTML5, CSS and Bootstrap

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

Beginning Web Site Design

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Web Designing HTML5 NOTES

The three common HTML terms you should begin with are elements, tags, and attributes.

Html basics Course Outline

Introduction to Web Development

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

WML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Web Site Development with HTML/JavaScrip

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Introduction to HTML5

Data Visualization (CIS 468)

Document Object Model. Overview

Creating HTML files using Notepad

HTML. Hypertext Markup Language. Code used to create web pages

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

HTML Overview. With an emphasis on XHTML

Web Development and HTML. Shan-Hung Wu CS, NTHU


Data Visualization (DSC 530/CIS )

Certified HTML Designer VS-1027

This document provides a concise, introductory lesson in HTML formatting.

HTML5: Heading and sectioning elements, paragraphs, headers, footers, id, class and title, Part 1

Web Development and Design Foundations with HTML5 8th Edition

Hyper Text Markup Language

Udacity Frontend Nanodegree Style Guide

INTRODUCTION TO WEB USING HTML What is HTML?

HTML5 MOCK TEST HTML5 MOCK TEST I

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

Web Programming Week 2 Semester Byron Fisher 2018

Block & Inline Elements

Accessibility of EPiServer s Sample Templates

Module 2 (VII): CSS [Part 4]

Cascading Style Sheets for layout II CS7026

First Name Last Name CS-081 March 23, 2010 Midterm Exam

Wireframe :: tistory wireframe tistory.

Deccansoft Software Services

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13.

Web Publishing Basics I

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

S. Rinzivillo DATA VISUALIZATION AND VISUAL ANALYTICS

Cascading Style Sheet

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

introduction to XHTML

Transcription:

Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed.

What Is HTML and Where Did It Come from? HTML HTML is defined as a markup language. markup is a way to indicate information about the content that is distinct from the content HTML has been through many versions and branches, the details of which might matter if you ever see old HTML code.

What Is HTML and Where Did It Come from? Markup

HTML Syntax Elements and Attributes HTML documents are composed of textual content and HTML elements HTML element encompasses the element name within angle brackets (i.e., the tag) and HTML elements can also contain attributes. the content within the tag.

HTML Syntax Elements and Attributes An empty element does not contain any text content; instead, it is an instruction to the browser to do something. In XHTML, empty elements had to be terminated by a trailing slash. In HTML5, the trailing slash in empty elements is optional.

HTML Syntax Nesting HTML Elements

HTML Syntax Nesting HTML Elements

HTML Syntax Nesting HTML Elements

HTML Syntax Nesting HTML Elements

Semantic Markup HTML5 Focus on the structure of the document, not the visual Advantages: Maintainability Performance Accessibility (http://www.w3.org/wai ) Search Engine Optimization

Structure of HTML Documents A simple example

Structure of HTML Documents DOCTYPE DOCTYPE Short for Document Type Definition tells the browser what type of document it is about to process <!DOCTYPE html>

Structure of HTML Documents A slightly more complex document

Structure of HTML Documents Head and Body HTML5 does not require the use of the <html>, <head>, and <body> elements (but most developers continue to use them, and you should too!) <html> contains all the other HTML elements in the document (Item 2 in previous slide) <head> contains descriptive elements about the document, such (title, style sheets, JavaScript files etc.) (Item 3) <body> contains content to be displayed by the browser (Item 4)

Structure of HTML Documents Some more common elements The <meta> element (Item 5) declares that the character encoding for the document is UTF-8. Item 6 specifies an external CSS style sheet file with <link> that is used with this document. Item 7 references an external JavaScript file using <script>

Quick Tour of HTML Elements A document to walk through

Quick Tour of HTML Elements Headings HTML provides six levels of heading (h1 - h6) Headings are also used by the browser to create a document outline for the page.

Quick Tour of HTML Elements Paragraphs and Divisions <p> tag is a container for text and other HTML elements <div> also a container element and is used to create a logical grouping of content

Quick Tour of HTML Elements Links Links are an essential feature of all web pages Links use the <a> element (the a stands for anchor).

Quick Tour of HTML Elements Links

Quick Tour of HTML Elements URL Relative Referencing Relative Link Type Example Same directory <a href="example.html"> Child Directory <a href="images/logo.gif"> Grandchild/Descenda nt Directory Parent/Ancestor Directory Sibling Directory <a href="css/images/background.gif"> <a href="../about.html"> <a href="../../about.html > <a href="../images/about.html"> Root Reference <a href="/images/background.gif">

Quick Tour of HTML Elements Inline Text Elements they do not disrupt the flow <a> <abbr> <br> <cite> <code> <em> <mark> <small> <span> <strong> <time>

Quick Tour of HTML Elements Images

Quick Tour of HTML Elements Character Entities These are special characters for symbols for which there is either no easy way to type them via a keyboard or which have a reserved meaning in HTML (like < ) Entity Description Nonbreakable space < < > >

Quick Tour of HTML Elements Lists Unordered Lists <ul> Ordered Lists <ol> Description Lists <dl>

Quick Tour of HTML Elements Lists

HTML5 Semantic Structure Elements

HTML5 Semantic Structure Elements Header and Footer

HTML5 Semantic Structure Elements Header and Footer A header element is intended to usually contain the section s heading (an h1 h6 element), but this is not required. The header element can also be used to wrap a section s table of contents, a search form, or any relevant logos. <header> <img src="logo.gif" alt="logo" /> <h1>fundamentals of Web Development</h1>... </header> <article> <header> <h2>html5 Semantic Structure Elements</h2> <p> By <em>randy Connolly</em></p> </header>... </article>

HTML5 Semantic Structure Elements Navigation <header> <img src="logo.gif" alt="logo" /> <h1>fundamentals of Web Development</h1> <nav> </header> </nav> <ul> </ul> <li><a href="index.html">home</a></li> <li><a href="about.html">about Us</a></li> <li><a href="browse.html">browse</a></li>

HTML5 Semantic Structure Elements Main, article, section <main> is meant to contain the main unique content of the document. <main> provides a semantic replacement for markup such as <div id="main"> or <div id="main-content"> <section> is a much broader element, while the <article> element is to be used for blocks of content that could potentially be read or consumed independently of the other content on the page The <aside> element can be used for sidebars, pull quotes, groups of advertising images, or any other grouping of nonessential elements

HTML5 Semantic Structure Elements Figure and Figure Captions

HTML5 Semantic Structure Elements Details and Summary

Tools Insight WYSIWYG Editors

Tools Insight Code Editors

Tools Insight Integrated Development Environments

Tools Insight Cloud-Based Environments

Tools Insight Code Playgrounds

END OF CH. 3