Tutorial 1: Getting Started with HTML5

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
WeB application development
Website Design.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Tutorial 1 Getting Started with HTML5
Tutorial 1 Developing a Basic Web Page. XP Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Developing a Basic Web Page with HTML
Developing a Basic Web Page Posting Files on UMBC
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
CPSC 203: Introduction to Computers Tutorials 03 & 29 by Jie (Jeff) Gao.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Getting Started with HTML5
Developing a Basic Web Page
Basic XHTML Module 2: XHTML Basics LESSON 1. Module 2: XHTML Basics LESSON 1 Lesson Overview In this lesson, you will learn to:  Write XHTML code using.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Week 1.  Phillip Chee   Ext.1214 
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
HTML Structure & syntax
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
15.1 Fundamentals of HTML.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
15.1 Fundamentals of HTML DeKalb County School System.
The Teacher Computing HTML HyperText Markup Language.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Hypertext Markup Language.  Developed by Tim Berners-Lee in 1990  Stands for HyperText Markup Languange  A format that tells a computer how to display.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
HTML Basic Structure. Page Title My First Heading My first paragraph.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
Getting Started with HTML
Tutorial Developing a Basic Web Page
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Tutorial 1: Getting Started with HTML5 Session 1.1

Objectives Explore the history of the Internet, the Web, and HTML Compare the different versions of HTML Study the syntax of HTML tags Define a Web page head, body, and title Work with the HTML5 structural elements

Introducing HTML Web pages are written in HTML HTML = HyperText Markup Language Characteristics: Describes the content and structure of a document Uses tags HTML Ancestor SGML = Standard Generalized Markup Language SGML (first markup language)= device- and system-independent but complex and costly (because needs to maintain an environment to run the SGML). From SGML, creation of HTML, a markup language tailored to specific tasks and simpler to use and maintain. Creation of the HTML by

XHTML and the Development of HTML 5 Existence of several versions of HTML (deprecation) XHTML (Extensible Hypertext Markup Language) is a stricter version of HTML and is designed to confront some of the problems associated with the different and competing versions of HTML XHTML is also designed to better integrate HTML with other markup languages such as XML

Tools for Creating HTML Documents Basic text editor such as Windows Notepad (PC) or TextEdit (Mac). Other software programs that enable you to create documents in different formats, such as Microsoft Word or Adobe Acrobat, include tools to convert their documents into HTML for quick and easy publishing on the Web Web publishing software manages all of the code and extended features of your site

Entering Elements and Attributes An HTML document is composed of elements that represent distinct items in the Web page, such as a paragraph, the page heading, or even the entire body of the page itself Elements are marked by one or more tags A two-sided tag is a tag that contains some document content. General syntax for a two-sided tag: <element>content</element>

Marking Elements with Tags A two-sided tag’s opening tag (<p>) and closing tag (</p>) should completely enclose its content Elements can contain other elements Tags cannot overlap <p>CBIS 3219: Web Development</p>

Adding an Attribute to an Element To add an element attribute, use the format <element attribute1=”value1” attribute2=”value2” ...>content</element> where attribute1, attribute2, etc. are the names of attributes associated with the element, and value1, value2, etc. are the values of those attributes. <p align =“left”>CBIS 3219: Web Development</p>

Exploring the Structure of an HTML File <html> <head> head content </head> <body> body content </body> </html> Practice 3.

HTML is like a Sandwich???

Practice Create a new html page and save it as basic.html Create the root html element and nest the head and body elements within it.

Document Type Declaration Prior to the opening <html> tag, many HTML files also include a Document Type Declaration, or doctype, to indicate the type of markup language used in the document. Doctype for HTML 4.01: <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01/EN” “http://www.w3.org/TR/html4/strict.dtd”> Doctype for XHTML: <!DOCTYPE HTML PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd”> Doctype for HTML5: <!DOCTYPE html> Practice 2

Practice Add the doctype for HTML5 to the basic page.

Head Element Page Title (appears in the title bar of the browser) Syntax: <title>document title</title> Example: <title>Shop clothes for women, men, maternity, baby, and kids | Gap </title> Practice 6 Used by search engines when compiling an index of search results.

Practice Set the page title of the Basic page to The J-Prop Shop – Special This Month.

Adding Comments Purpose: Explain your code to yourself or others. Comments are not displayed in the browser. Comments can be spread over several lines if necessary. Syntax: <!-- comment --> Example: <!– The doctype of this document indicates that HTML5 is used --> Practice 4

Practice Within the head element, insert the comment The J-Prop Shop Sample Page for the Basic Stick Author: Your name Date: the date

Defining the Structure of the Page Body Example of the J. Whitney Bunting College of Business Web site: http://www.gcsu.edu/business/deanswelcomeundergrad.htm

Insert HTML5 Structural Elements Example: <header> </header> <nav> </nav> <section> </section> <aside> </aside> <footer> </footer> Practice 9

Within the section structural element <section> <article> </article> </section> Practice 12

No Structural Element in HTML 4.01 or XHTML Replace the structural elements with div elements. Syntax: <div id=“id”> content </div> id = unique name assigned to the division (not required but useful). content = page content contained within the division.

Practice Within the body element, create structural elements for the page header, main section, and footer.

Summary of tags <doctype> <html> <head> <body> <title> <header>, <section>, <article>, <nav>, <aside>, <footer> or <div> Comments: <!-- Tips: use comments to explain your code-->