A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
COS 125 Internet Fundamentals and Web Page Design Day 3.
Chapter 2 HTML Basics Key Concepts
XHTML Basics Web pages used to be written exclusively in html
HTML Minute University Richard Fisher 10/1/2001 HTML FSA Training2 HTML Overview  HTML  HyperText Markup Language.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
HTML and XHTML Controlling the Display Of Web Content.
COS 125 Day 13. Agenda Capstone Projects Proposals Over Due Timing of deliverables is 10% of Grade Still missing two First Capstone Progress Report Due.
COS 125 Day 13. Agenda Capstone Progress Reports Due Quiz #2 Graded 7 A’s, 3 B’s, 3 C’s and 1 no-take Assignment #3 due this Friday We review some of.
COS 125 Internet Fundamentals and Web Page Design Day 12.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Notes Chapters 1--6 Codes used in creating HTML documents are called tags. Tags are always enclosed in left ( ) angle brackets. Tags can be upper.
Creating a Simple Page: HTML Overview
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Creating a Basic Web Page
HTML Essentials Markup ( Part I ). Why Markup ? Markup gives meaning and structure to your web page Creates a relationship between the elements.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
HTML BASICS Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
HTML (HyperText Markup Language)
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.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
CS134 Web Design & Development Creating a Basic Web Page Exerted from Mehmud Abliz slides.
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.
CSCE Chapters 1 and 2 CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department of Computer Science & Engineering.
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.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
XHTML TAGS I Basic Tags. North Lake College 2 by Sean Griffin Sample XHTML Code.
ECA 228 Internet/Intranet Design I Intro to Markup.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
1 Web Application Programming Presented by: Mehwish Shafiq.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
Formatting Text with HTML. Objectives: Students will be able to: Define the structure of the document with block elements Format numbered, bulleted, and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Note: Browsers automatically add an empty line before.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INT222 – Internet Fundamentals
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
HTML Basics.
Essential Tags Web Design – Sec 3-3
Elements of HTML Web Design – Sec 3-2
Coding, Testing and Valdating a Web Page
Essential Tags Web Design – Sec 3-3
Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
HTML Formatting Text.
Creating a Basic Web Page
AN INTRODUCTION BY FAITH BRENNER
Lesson 2: HTML5 Coding.
Web Design & Development
Presentation transcript:

A Basic Web Page

Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements

HTML Source Document Review Chapter 1 –URL in browser instructs PC to request a doc –Server returns the HTML source document for URL HTML source code in doc contains details of what and how to display doc The browser reads the instructions and displays on requesting PC

Source document All web pages are entirely plain-text documents. Chapter 5 introduces graphics Two types of text –Elements –Tags These are used to classify contents of document (header, body, title, etc.) Special formatting is imparted through the use of tags

Sample Basic Web Page Welcome to my Web page!

Creating a Source Document –Avoid using any editor that is not plain-text only –HTML files should end in.htm and not contain any spaces in the file name –You can open a HTML file by simply dragging the file icon to an open browser window

HTML Code –Writing and Indenting HTML Code Use lower case letters for your tags Indenting your code makes nesting tags easier

HTML, XML, and XHTML –From HTML to XHTML HTML implementations are different between browser manufacturers even though all support a single standard XHTML has been introduced to supercede HTML and has stricter rules HTML tags are not case sensitive, XHTML tags are case sensitive –Creating an XHTML Source Document XHTML documents require an XML declaration at the head of the document file These lines comprise a Document Type Definition (DTD)

The Element Meta tags are used to add information about a web page that is invisible to web browsers The tags are read by search engines and indexers Meta tags are often used to identify keywords and descriptions

Paragraphs and Line Breaks The Element –Browsers ignore consecutive whitespace characters – the tag (paragraph) is used to create a paragraph break on the page –Good HTML design requires that you use the closing tag, however no browser requires it –Browsers ignore any tag that is not understood, so if a tag is not performing the function you want, check for misspelling or a missing The Element –The br tag causes an immediate line break on the page –The br has no closing tag, so the XHTML tag has a trailing forward slash

Headers Headers are content tags which select one of size text sizes They should be used only for titles and section headers h1 is the largest, h6 the smallest Proper use of header tags allow a table of contents to be retrieved by just displaying the hx tags

The and Elements em and strong elements are also content tags In a browser, they is normally displayed as italics and bold, but this is entirely device dependent em and strong are preferred over the i (italic) and b (bold) tags because it separates the presentation from the content (meaning)

Block-level vs. Inline Elements Block-level elements are designed to define a complete section of text Examples of block elements are hx, p, and body tags Inline elements can affect an area as small as a single character Examples of inline elements are em, strong, and b tags

Blockquote This block-level element is used to define a long block of text, usually a quotation In IE and Navigator, the presentation is represented by indenting the text from both the left and right margins

Font Size Font sizes are manipulated by the hx tags and also by the big and small tags Unless your intention is to use an actual header, use the big and small tags to change the font

A Few Words about Fonts Font faces themselves can be defined by using the font tag, but the preferred method is to use style sheets Users can change their default fonts, both size and face, using the browser preferences, so do not count on absolute control

Comments about Comments Comments are used to document your HTML code for later reference The comment tag encloses the comments which are not visible in the browser The browser ignores anything inside the comment tags, including HTML

End of Chapter 2 HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements