Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.

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.
HTML popo.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
CHAPTER 14 INTRODUCTION TO HTML 1. Terms Web pages Documents that are written in a language called HTML HTML Stands for Hypertext Markup Language HTML.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Developing a Basic Web Page with HTML
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
Computer Sciences Department
Tutorial 1: Getting Started with HTML5
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Creating a Simple Page: HTML Overview
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
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.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Introduction to XHTML 1 Chapter 4 Introduction to XHTML: Part 1 Reference From: Internet & World Wide Web: How to Program Deitel, Deitel & Goldburg.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
HTML Structure & syntax
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
HTML5 – Heading, Paragraph
WDV 101 Intro to Website Development
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to XHTML.
Chapter 4 - Introduction to XHTML: Part 1
Basic HTML and Embed Codes
Introduction to HTML- Basics
Structuring Content in a Web Document
Tutorial 3 Working with Cascading Style Sheets
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
CS3220 Web and Internet Programming HTML and XML Basics
Pertemuan 1 Desain web Pertemuan 1
Lesson 2: HTML5 Coding.
WJEC GCSE Computer Science
HTML CS 4640 Programming Languages for Web Applications
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages

XP Objectives 1.1 Explore the history of the Internet and the World Wide Web Study the differences between HTML, XHTML, and CSS Create a Web page with basic HTML tags Apply formatting tags to affect text on a Web page 2New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Objectives 1.2 Understand image files and file types Add an image to a Web page Create ordered, unordered, and description lists Create nested lists Validate a Web page 3New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Learning About the Internet and the World Wide Web The Internet is a global internetwork that includes communication technologies such as , file transfers, and other data transfers. The World Wide Web (simply the Web) is the Internet technology that provides the ability to download Web pages. 4New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The Internet and the World Wide Web The software used to download and view Web pages is called a Web browser. Current Web browsers: – Microsoft Internet Explorer – Apple Safari – Google Chrome – Mozilla Firefox 5New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP HTML, XHTML, and CSS Hypertext Markup Language (HTML) is a set of instructions that identify sections of a Web page and may specify layout placement or formatting. Extensible Hypertext Markup Language (XHTML) is a set of rules applied to HTML to ensure the code conforms to standards. Cascading Style Sheets (CSS) specifies formatting and placement. 6New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Hypertext and Markup Rendering a Web page is the process of interpreting a file that contains HTML and CSS, and displaying the resulting Web page. Hypertext is a technology that allows you to click a link that points to a file. Markup language is a system of codes that describes something about the content. The standards for HTML are set by the World Wide Web Consortium (W3C). 7New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Basic HTML Tags Every HTML document should start with a DOCTYPE tag that identifies the version of HTML used in the document. HTML5 simplified that tag to the following: 8New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The html, head, and body Elements The html element is the root element of a Web document; it is the container for all other elements on the Web page. The head section contains HTML code that does not appear in the browser; it is a container for information about the document. A head section contains metadata—a document’s keywords, information about its author, and a description of the document. 9New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The body element is the container for all of the page content that will be rendered in the document window. 10New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition The html, head, and body Elements

XP Typing the Code The file that contains HTML and CSS code can be written and saved using: – Notepad (Microsoft Windows) – TextEdit (Apple OS X) Elements that are contained inside other elements are indented. 11New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Typing the Code An HTML element includes an opening tag, the text content, and the closing tag using the following format: content Tags that are not paired are called empty elements, and their format is: 12New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Commenting Code Comments can be used to identify sections of the code. The comment tag is entered as follows: 13New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Creating Headings The heading elements are used to mark the importance of content. There are six heading elements: h1, h2, h3, h4, h5, and h6 : content Font sizes can be measured in points (pt). 14New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Creating Headings 15New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The Paragraph Element The paragraph element is used to identify a paragraph of text: content 16New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Text Formatting Tags The strong element renders text in bold. The em element renders text in italic. For applying two or more effects, nested tags are used: content 17New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Inserting Special Characters Special characters cannot be created by using the keyboard. A named character reference has the following form: &name; A numeric character reference has the following form: &#number; 18New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Using Images on a Web Page Image file formats are GIF, JPEG, and PNG. The image element is used to insert an image on a Web page: An attribute specifies the name of a property related to a Web page element and the value for that property. The image tag contains a source property: src src = "images/logo.jpg" 19New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Using the img Element filename – the filename of the image alternate_text – a description of the image widthvalue – the width of the image in pixels heightvalue – the height of the image in pixels 20New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Attributes Used with Images alt – provides a brief description of the image, and is used as a ScreenTip or ToolTip title – provides some information about the element in which it is included width and height – specify the dimensions of the area of the Web page where the image will be rendered 21New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Attributes Used with Images 22New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Creating Lists You can use HTML to create an unordered list (a bulleted list), an ordered list (a list with numbers or letters), and a definition list (a list with a hanging indent format). 23New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Nested Lists A nested element is an element that is inside of another element. A sublist is a list that is nested inside a list item of another list. The general structure of a nested list: 24New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Nested Lists 25New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Ordered List An ordered list structure: 26New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The Description List A use of the description list is to create: – chronology – list of events in time order – glossary – alphabetic list of terms and definitions A description list structure: 27New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The break Element 28New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP The meta Element Metadata is data that provides information about other data. 29New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Validating a Completed File Validation is the process of checking the file for syntax and compliance errors. Validation does not check for spelling, typos, or grammar errors. In addition to the HTML and XHTML standards, there is also a Web Accessibility Initiative standard. There are free validators available. 30New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition

XP Validating a Completed File 31New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition A code validator is a Web site that provides a mechanism to submit a code, and provides an error report.

XP Validation Report 32New Perspectives on Blended HTML and CSS Fundamentals, 3 rd Edition