CSCI 1101 Intro to Computers

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

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.
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
Chapter 2 HTML Basics Key Concepts
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Developing a Basic Web Page with HTML
1 HTML Basic HTML. 2 Outline Goal Objectives Introduction Design of Web pages Markup language Develop Web pages Document structure HTML tags Document.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
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.
Understanding HTML Code
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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'
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
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.
Explorers Guild April 27, What is HTML? Hypertext Markup Language (HTML) is the basic building block of the World Wide Web page. HTML files are.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
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.
Just Enough HTML How to Create Basic HTML Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
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.
Lesson 2: Basic HTML Code Basic HTML Code. HTML is an acronym for Hypertext Markup Language. Internet browsers translate the HTML code into texts and.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
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.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
Document Formatting © 2009 M and K Solutions, LLC -- All Rights Reserved.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
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.
Web programming Part 1: HTML 由 NordriDesign 提供
The Web Wizard’s Guide to HTML Chapter Two Basic Text Formatting.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
HTML: Hypertext Markup Language The language to make web pages 0.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Basic Web Publishing M. Scott Gartner 7/15/98.
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.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Creating a Home Page in HTML
HTML Formatting.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
What is HTML?.
Lesson 2: HTML5 Coding.
Presentation transcript:

CSCI 1101 Intro to Computers 7.2 Learning HTML

HTML document structure Three parts make a well-structured HTML document: header, body, and footer The header includes the <HTML>, <HEAD> and <TITLE> tags The body includes the <BODY> tag The footer includes the <ADDRESS> tag HTML tags do not have to appear in caps

HTML tags and categories Most HTML tags require a matching start and end tags; <H1>…</H1>. A limited number of one-sided tags which do not reguire a closing tag <HR> - horizontal rule (line) <BR> - hard break in text stream A few others

HTML tag nesting HTML tags may be nested according to this rule: first open, last closed; or last open, first closed; <H1><B><I> …</I></B></H1>

Document structure tags The basic structure of an HTML file is: <HTML> <HEAD> <TITLE> Title goes here </TITLE> </HEAD> <BODY> Body and content go here <ADDRESS> footer goes here if used </ADDRESS> </BODY> </HTML>

Document structure tags Example of document structure tags <HTML> <HEAD> <TITLE>My Web page Template</TITLE> </HEAD> <BODY> Page contents go here <ADDRESS> Copyright © 2000<BR> Abe Zeid<BR> please e-mail me at zeid@coe.neu.edu<BR> Revised - January 2000<BR> </ADDRESS> </BODY> </HTML>

Text and tags Text, in general, consists of headings, paragraphs, and words. HTML has tags to format each

Heading tags Heading tags are <H1> through <H6> <H1> providing the largest size text, and <H6> providing the smallest size. All <H#> tags have the ALIGN attribute <H1 align="right"> <H1 align="center"> <H1 align="left">

Paragraph tags The <P> tag is the only tag for paragraphs. Frequently used as a one-sided tag to insert a hard paragraph break in text. HTML standard defines it as a two-sided tag <P>The paragraph text goes in here </P> When used as a two-sided tag, it has the same align attribute options as the heading tags The <BR> tag inserts a hard return in the text, without the vertical spacing associated with a <P> break

Tags for formatting words The tags for words (all two sided) are <B> (boldfaced) <I> (italicized) <U> (underlined) <CENTER> (Centers text within the browser window) <BLOCKQUOTE> (Long quotation style text indenting on both sides of the browser window) <BIG> (Larger text) <CITE> (Citation styling for research papers) <EM> (generic definition for emphasized text - generally italics) <KBD> (keyboard text - uses the fixed-width font defined by the browser) <SMALL> (smaller text) <STRONG> (generic definition for strong text - generally boldfaced)

Additionally formatting tags The <FONT> has a large variety of attributes COLOR SIZE ALIGN FACE The <HR> has the attributes ALIGN, COLOR, NOSHADE, SIZE, and WIDTH

Text and tags (Results on the next page) <HTML> <HEAD> <TITLE>Heading tags Web page</TITLE> </HEAD> <BODY> <H1>This text is size H1</H1><BR> <H2 ALIGN = "center"> This text is centered and size H2</H2><BR> <H3 ALIGN = "right"> This text is right justified and size H3 </H3><BR> <H4>This text is size H4</H4><BR> <H5>This text is size H5</H5><BR> <H6>This text is size H6</H6> </BODY> </HTML>

Text and tags <HTML> <HEAD> <TITLE>Heading tags Web page</TITLE> </HEAD> <BODY> <H1>This text is size H1</H1><BR> <H2 ALIGN = "center"> This text is centered and size H2</H2><BR> <H3 ALIGN = "right"> This text is right justified and size H3 </H3><BR> <H4>This text is size H4</H4><BR> <H5>This text is size H5</H5><BR> <H6>This text is size H6</H6> </BODY> </HTML>

Text and tags (results on next page) Example of the <P> tag <HTML> <HEAD> <TITLE>Paragraph tag Web page</TITLE> </HEAD> <BODY> <P>This page illustrates how to use the paragraph tag to create paragraphs. </P> <P>When surfers browse the Web, they are accessing and reading home Web pages and pages that are linked to them. These pages are written using a scripting language called HTML (HyperText Mark up Language). We here begin covering HTML and page layout, organization and design. </P> <P>The markup language is a method to embed special tags that describe the structure as well as the formatting of a document. The markup language allows the non-sequential way of reading HTML documents. The simplicity and power of HTML let anyone create Web documents. Making Web documents is easy and straight forward. The markup nature of HTML is what is behind the incredible breadth and reach of the Web </P> </BODY> </HTML>

Text and tags

Text and tags Examples of Word tags <HTML><HEAD><TITLE>Formatting tags Web page</TITLE> </HEAD><BODY> <B>This text uses the Bold tag</B><BR> <BIG>This text uses the BIG tag</BIG><BR> <BLOCKQUOTE>This text uses the BLOCKQUOT tag</BLOCKQUOTE><BR> <CENTER>This text uses the CENTER tag</CENTER><BR> <CITE>This text uses the CITE tag</CITE><BR> <CODE>This text uses the CODE tag</CODE><BR> <EM>This text uses the EM tag</EM><BR> <FONT SIZE=2 COLOR="green">This text uses the FONT tag</FONT><BR> <HR SIZE= 5 WIDTH=50% ALIGN="center" NOSHADE> <I>This text uses the Italic tag</I><BR> <KBD>This text uses the KBD tag</KBD><BR> <SMALL>This text uses the SMALL tag</SMALL><BR> <STRIKE>This text uses the STRIKE tag</STRIKE><BR> <STRONG>This text uses the STRONG tag</STRONG><BR> <U>This text uses the Underline tag</U><BR> </BODY></HTML>

Text and tags