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.

Slides:



Advertisements
Similar presentations
Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
Advertisements

Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML Introduction Creating a Web Page.
Cascading Style Sheets
HTML popo.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
How Tags are used to form your Web Page
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Marking Up With Html: A Hypertext Markup Language Primer
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
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.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
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.
HTML H yper T ext M arkup L anguage. HTML HTML is NOT case sensitive However, proper coding etiquette if for all to be in ALL CAPS and for text to be.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
CNIT 132 – Week 2 HTML (1). Introducing the World Wide Web A network is a structure linking computers together for the purpose of sharing resources such.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
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.
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.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
Unit 1 Changing the Appearance of Text. TITLE CORNELL NOTES TOPIC: NOTES: Summary: HTML Hypertext Markup Language 1 st and last tag on a page Tags Tags.
Getting Started with HTML Please use speaker notes for additional information!
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Just Enough HTML How to Create Basic HTML Documents.
All you ever needed to know…and more!. H.T.M.L. HyperText Mark-up Language Web’s programming language All web browsers Set of instructions Written with.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
1 Working with Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size,
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.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
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.
Elements and Attributes. XHTML Elements The element contains special information that does not necessarily show up on the web page. The element determines.
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.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
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.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
INTRO TO WEB DEVELOPMENT html
HTML Basics.
LAB Work 01 MBA 61062: E-Commerce
Marking Up with XHTML Tags describe how a web page should look
HTML5 – Heading, Paragraph
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

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 document in word  Preparatory work can weed out errors or point to potential problems

Creating an HTML Document  In planning, identify elements An element is a distinct object in the document, like a paragraph,a heading, or a page’s title  Formatting features such as boldfaced font, and italicized text may be used  Watch out for the use of underline

White Space and HTML  HTML file documents are composed of text characters and white space.  White space is the blank space, tabs, and line breaks with the file  HTML treats each occurrence of white space as a single blank space  You can use white space to make your document more readable

Marking Elements with Tags  The core building block of HTML is the tag, which marks each element in a document  Properties are additional information that control how the tag is used  A two-sided tag is a tag that contains some document content Text

HTML Syntax  Tags usually come in pairs and are enclosed in left and right angle brackets Opening tag Closing tag (turns off the feature)  Container Tags- tags that need to be turned on and off and requires <>text  Non-container Tags- (empty tag) requires only <>, they do not need to be turned off  HTML Tags are not case sensitive JUST BE CONSISTENT

General HTML Formats   text

Creating an HTML File  Identifies the file as HTML  Contains info about the web page  Favorite Quotes   (Page Content) 

Comments  To add comments that are not seen in the browser by the audience  Comments allow you to organize your HTML document so you can find items quickly or explain a section.

Headers  HTML supports six levels of headers to  Headers always appear on their own line and are separated by a blank line above and below  To center a Heading: Text  Use the Headings in order within a document. Do not use heading before

Paragraph Formatting  Marks the end of a paragraph – inserts a return and a blank line  Identifies a line break – no blank line  You do not have to close the or the  Text is indented and has a paragraph line break  Identifies a generic block-level element (Such as a paragraph)

Horizontal Rule   ALIGN property can be se to left, center, right – default is center  WIDTH property tells what percentage of the width of the page the line should occupy i.e. WIDTH=“50%” means the line is 50% of the page  SIZE= “ “ specifies the line thickness in pixels  There are 72 pixels in an inch

Horizontal Rule  COLOR = “RGB VALUE” (Red, Green, Blue)  Hexidecimal Values = numeric values between RGB  Six number or letters XX(red)XX(green)XX(blue) Example: FFFFFF(white)  Go to

Body Tags  To change the background color:  To change the text color:  To use an image as background: 

Font Face  Over-ride the browser’s choice of font:  Use minimal different font types to increase readability  You can also add the COLOR property to change the font color

Font Size  You can use regular point size (for example: 10, 12, 14) hi there

Tags  Character Tags Text will be bold Text will be italicized Text will be underlined  DIV ALIGN attribute Tag (aligns entire paragraph) text Alignment = “left”, “center”, or “right”  Default is “left”

Multiple Tag Order  Tag order to start is closed in reverse order Text (At this point, all tags are open) (At this point, all tags are closed)

Inserting an Image  To insert an image on your page:  Make sure you include the entire URL if your picture is not saved in the same directory as your web page  You can use the ALIGN property to align the image on the page 

Lists  Ordered List = Numeric Order Begin Ordered List Item One Item Two Item Three Close Ordered List

Lists   Ordered List Types:  1=Numbers (this is default)  I= Uppercase Roman Numerals  i= Lowercase Roman Numerals  A=Uppercase Letters  a= Lowercase letters

Lists  Unordered Lists  List with no particular order  Browsers will add a bullet before each item  Open unordered List  Item One  Item Two  Close Unordered List

Summary: Tips for Good HTML Code  Use line breaks and indented text to make your HTML file easier to read  Insert comments into your HTML fine to document your work  Be consistent in entering in your tags and attribute names (all lowercase)  Place all attribute values in quotes  Close all two-sided tags  Test your Web page on all relevant browsers