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.

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.
HTML: HyperText Markup Language Hello World Welcome to the world!
WeB application development
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Creating a Simple Page: HTML Overview
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
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 
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Reading & Exam Zeid: Chapter 9: XHTML Essential p Read before EXAM 1 Exam is Monday Oct. 25 th Review on Friday Oct. 22 nd.
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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
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.
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.
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.
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 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.
HTML: Hyptertext Markup Language Doman’s Sections.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
1 Web Application Programming Presented by: Mehwish Shafiq.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place.
4 HTML Basics 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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
HTML Basics.
Introduction to HTML:.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Elements of HTML Web Design – Sec 3-2
Coding, Testing and Valdating a Web Page
WDV 101 Intro to Website Development
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Elements of HTML Web Design – Sec 3-2
Basic HTML and Embed Codes
Introduction to HTML- Basics
Lesson 2: HTML5 Coding.
Presentation transcript:

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 page XHTML – Extensible HTML Set of standards applied to HTML CSS – Cascading Style Sheets Defines the formatting and placement

Webpage Structure HTML uses tags Key words wrapped in so when the browser renders the page it knows the text is a tag. Tags have an open in and close <> Format is content <> is an open tag. is the closing tag Some single tags do not have a close. Some tags are self closing tags (empty elements)

Webpage Structure - Doctype DOCTYPE Every HTML document should have a doctype tag This tag identifies the version of HTML being used With HTML5 the tag is HTML tag Defines that everything inside is HTML Put right after Doctype Good habit to close tag right after you create it

Webpage Structure - Head Head tag Comes after the html tag Is not displayed Container for the information about the document Holds the tag for the document title Always make sure each page has a title Can hold metadata (keywords, author, description) My First Webpage

Webpage Structure - Body Body tag is used to hold the main displayed content of the page. Hello world!

Building a Webpage - Lab 1. Open Notepad 2. Type the following and save as firstpage.html My First Webpage Hello World!

IDEs Plain text (Notepad) Most basic way. No color Notepad ++ ( Free Works for lots of languages Colors text for easy reading Dreamweaver Extremely powerful Costs money Autofills tags, gives suggestions, tons of options.

Building a Webpage – On the Web After we have created our basic page we can view it locally on a machine To view on the web we would need to upload it to a server. Filezilla A handy tool to upload your webpages to the server

More Tags – Comment Tag Comments Ignored by the browser (for humans) Format like <!-- This text is also Ignored --> Homework needs to be formatted with comments <!-- Name Tutorial #, Case Problem # Date -->

More Tags – Heading Style Important code can be marked with headings Format is content where n is a value of 1 through 6 where 1 is the biggest

Heading - Lab Modify your first page. Add: Title Name Age Home town

More Tags Paragraph tag Identifies paragraph of texts content Strong Tag Makes text Bold content Em Tag Makes text in italics content Em and Strong effects can also be done with CSS

Nested tags When there multiple tags formatting content it is important to properly nest the tags Two or more effects can be nested like: content Example: My name is Matt and my favorite color is blue

More Tags – Special Characters Some characters can not be read by the browser in html. Since <> are used in tags how would you display it on the screen? Special Characters can handle this. Format: &name; or &#number; Where name or number are set values. See page 23 for a full list. Less than is < or <

More Tags - Lab Modify your first web page Add a paragraph that says: “My name is Matt and my favorite color is Blue. 7 is < 10.” Wrap your name with strong and your pet with em tags Use the Less Than Special Character Make 10 bold and italics (nested tags)

Images Images are displayed on the webpage using the tag This tag is a self closing tag (the book calls it an empty element tag) Image tags require attributes to work correctly Attributes are modifiers to a tag put inside the open tag with the format of attribute=“value” For img the source of the file is required. This is done with the src attribute:

Images alt = “Alternate text” Used for when the image can not be found and also for web readers for visually challenged users. title=“title text” width = “width value” height = height value” <img src=“filename.jpg” alt=“Picture of my Puppy” height=“25px;” width =“25px;” title=“My Dog” />

Images - Organization It is a good practice to have all of your images in a separate folder (typically called images) If the file name of the image is not in the same folder (locally and on the server) the path needs to be given It is good practice to size your images before putting them on the web. It’s good habit to always put the alt attribute in.

Images – Lab Go to the following link Right click on the image and do save as. Save the image in the same location as your first webpage Add the image to your page using the img tag Add alt, height, and width attributes

Creating Lists Three types of lists Unordered – Normal bulleted list Ordered – A list with numbers or letters Description – A term/description value pair with the description indented All three types will have a nested tag describing the list type and the each list item

Creating Lists – Unordered List Unordered list has the tag for the list and for the list items. Coke Pepsi Lists can be nested as well Coke Diet Cherry

Creating Lists – Ordered List Uses the tag for the ordered list and the tag for the list items Open Notepad Create a new page

Creating Lists – Description List Also called a definition list. Can be used for a glossary or chronology Uses the tag for the description list, for the description term, and the tag for the description data DMACC Des Moines Area Community College DMACC Des Moines Area Community College

Creating Lists - Lab Add an unordered list of multiple drink brands: Coke Pepsi Add an ordered list of types of steps: 1. Open Notepad Create a new webpage Add a definition list for DMACC: DMACC Des Moines Area Community College

More tags- Break and Meta Break tag Adds a blank line Meta tags Used for keywords that describe the page. These elements are not displayed. Used by search engines Placed in the section Has name and content attributes

Meta Names Keywords Description Author Copy write

Validating the Code HTML does not have a compiler like other languages Validators can alert of possible errors and things that do not conform to the standards Website: Can paste in code, upload a file, or point it to a URL