1 2/21/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Lists, Fonts, Links, and Preformatted Text.

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Introduction to HTML CPS470 Software Engineering Fall 1998.
23-Jun-15 HTML. 2 Web pages are HTML HTML stands for HyperText Markup Language Web pages are plain text files, written in HTML Browsers display web pages.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
HTML Primer Basics of HTML for those who haven’t used it before.
HTML Introduction HTML
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Basics of HTML.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
HTML Essentials Markup ( Part I ). Why Markup ? Markup gives meaning and structure to your web page Creates a relationship between the elements.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
HTML (HyperText Markup Language)
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Introduction to HTML. HTML Hyper-Text Markup Language: the foundation of the World-Wide Web Design goals:  Platform independence: pages can be viewed.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Getting Started with HTML Please use speaker notes for additional information!
 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.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
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.
By Brieya. What is HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Just Enough HTML How to Create Basic HTML Documents.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
HTML Codes Miss B.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
HTML: Hyptertext Markup Language Doman’s Sections.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
Informatics Computer School CS114 Web Publishing HTML Lesson 1.
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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
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.
The Web Wizard’s Guide to HTML Chapter Two Basic Text Formatting.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 3/30/05CS120 The Information Era CS120 The Information Era Chapter 4 – More HTML Specifics TOPICS: Frames Problem Review, Nested Frames.
HTML – The Basics Rebecca Shillingburg
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Basics.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to XHTML.
The Most Basic HTML Page
Lesson 2: HTML5 Coding.
Presentation transcript:

1 2/21/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Lists, Fonts, Links, and Preformatted Text

2 2/21/05CS120 The Information Era Review  What are the basic components of a web page?  What HTML tags did we learn about last time?

3 2/21/05CS120 The Information Era HTML Tags  HTML tags always appear in angle brackets <>  Tags are usually paired, the opening tag is just the tag name in angle brackets, the closing tag is the slash / followed by the tag name in angle brackets  Examples: o

4 2/21/05CS120 The Information Era HTML Attributes  Attributes are additional information that can be included inside of a starting tag o Attributes do not appear in the end tags  Attributes are in the form o Attribute_name = atribute_value  Examples: o

5 2/21/05CS120 The Information Era Titles  The title tag appears within the head part of your html document  The title does not appear inside the browser window, instead it appears at the top of the browser  It is also the name used whenever someone bookmarks the page  Search engines use the title to identify a page  Title should be short but descriptive!

6 2/21/05CS120 The Information Era Paragraphs  HTML ignores any whitespace or blank lines that you might have in your file  You should break your document up using the paragraph tag  You may omit, but it is generally a good idea to include it  An attribute that you can use with is align, which can have the values center, left, or right  How would we center the sentence “hello world” in a webpage?

7 2/21/05CS120 The Information Era Lists  Lists are very common in web pages o Why do you think this is the case?  There are three types of lists: 1. Unordered lists 2. Ordered lists 3. Definition lists

8 2/21/05CS120 The Information Era 1. Unordered Lists  Unordered lists are bulleted lists  Complete list is enclosed in tags  Each item in the list is surrounded by tags  Example: first item second item

9 2/21/05CS120 The Information Era 2. Ordered Lists  Ordered lists are numbered lists  Complete list is enclosed in tags  Each item in the list is surrounded by tags  Example: first item second item

10 2/21/05CS120 The Information Era 3. Definition Lists  Consist of a series of term/definition pairs  The list is surrounded by the tags  Each term is surrounded by  Each definition is surrounded by  Example: HTML HyperText Markup Language HTTP HyperText Transfer Protocol

11 2/21/05CS120 The Information Era Nested Lists  It is possible to create nested lists o I.e. lists within lists  How would we create the following list? 1. Magazines  Time  Nature  Science 2. Newspapers  New York Times  The Oregonian

12 2/21/05CS120 The Information Era Fonts  Fonts visible in a browser are limited when compared to a word processor  You cannot guarantee what fonts are available on different machines  Solution: o Give the browser the option of displaying a list of fonts

13 2/21/05CS120 The Information Era Fonts  Types of faces o Sans serif: a category of typeface that does not use serifs, such as Arial, Geneva, and Helvetica o Serif: typeface that uses serifs, such as Times New Roman, Times o Monospaced: a typeface that has a fixed width such as Courier New, Courier

14 2/21/05CS120 The Information Era Fonts  The face attribute of the font tag   The browser will select the first font that is available going from left to right

15 2/21/05CS120 The Information Era Other Font Attributes  Color: This attribute can be used to change the color of a segment of text enclosed in font tags o Coloured text  Size: o You can set the size of the font. Range is 1-7 o You can make the size bigger (“+2”) or smaller (“-2”) o Very small text this is bigger

16 2/21/05CS120 The Information Era Note About Font Tag  The font tag has been deprecated in the latest HTML specification (HTML4.01) in favour of style sheets  We will be covering style sheets in a couple of weeks  Until then we will use the font tag

17 2/21/05CS120 The Information Era Preformatted Text  The tag can be used to display text exactly as it is typed including all white space and blank lines  Everything within the tags is displayed using a monspace font

18 2/21/05CS120 The Information Era Exercise  Use the tag to display the multiplication table of the numbers 1-5

19 2/21/05CS120 The Information Era Troubleshooting your page  Check all tags that have a starting and ending tag. Make sure both are present.  Look for typos such as <html). What you will notice is that html) might be displayed as text.  It is very common to type quickly and accidentally type a control key (which isn’t visible) into your HTML code. This may or may not cause viewing problems.  Quotation marks inside of a tag require a beginning quote and an ending quote inside the tag.

20 2/21/05CS120 The Information Era Links  The final html tag we will cover today is the tag that creates hyperlinks  Example: o Amazon

21 2/21/05CS120 The Information Era Final Exercise  Create a page that contains a list of your favourite websites (your bookmarks)  You should include o A heading (My Bookmarks) o A smaller heading (Your name) on a separate line o A list of your bookmarks. These should be links to the websites, and should be divided up into categories using nested lists