HyperText Markup Language. Web Hosting Creating a web site (on a site like iPage) –Buy domain name (www.mybiz.com) –iPage has registrar (e.g., FastDomain.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
Chapter 2 HTML Basics Key Concepts
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.
Chapter 4 A Hypertext Markup Language Primer. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Know the.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Introduction to HTML CPS470 Software Engineering Fall 1998.
HTML Primer Basics of HTML for those who haven’t used it before.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Marking Up With Html: A Hypertext Markup Language Primer
HTML Introduction DSC340 Mike Pangburn. What is HTML?  HTML: Hyper Text Markup Language  The predominant markup language for web-page design.  A markup.
Spring 2013 CS 103 Computer Science – Business Problems Lecture 6: A Hypertext Markup Language (HTML) Instructor: Zhe He Department of Computer Science.
Chapter 6 Marking Up With (X)HTML: A Hypertext Markup Language Primer
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.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A Hypertext Markup Language Primer Marking Up with HTML lawrence snyder c.
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.
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.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction to Computers CS Dr. Zhizhang Shen Chapter 4: Talking.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
CSCI 1101 Intro to Computers
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
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.
Just Enough HTML How to Create Basic HTML Documents.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
HTML: Hyptertext Markup Language Doman’s Sections.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A Hypertext Markup Language Primer Marking Up with HTML lawrence snyder c.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
HTML Basic. 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.
HTML Primer. A very good set of tutorials and references for HTML “Try it” feature lets you type in HTML.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Chapter 4 Source: CSE 190 M (Web Programming) lecture notes, es/slides/lecture02-basic_xhtml.html.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Introduction to HTML C151 Multi-User Operating Systems.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
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
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
CIS 228 The Internet Day 2, 9/1/11 Hypertext. The Course Instructor: Bowen Alpern Office hour: GI 137-I, 4-5pm Tu.
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.
1 Week 3 XTML, Expression Web, WinSCP, & Mini-Project (MP1) Advanced Web Development IT225 Spring Term 2016 Marymount University School of Business Administration.
Basic Web Publishing M. Scott Gartner 7/15/98.
Introduction to HTML.
HTML Basics.
Marking Up with XHTML Tags describe how a web page should look
Aside on Conversions  . Aside on Conversions  
Uppingham Community College
A guide 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
Chapter 4: Marking Up With HTML: A Hypertext Markup Language Primer
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:

HyperText Markup Language

Web Hosting Creating a web site (on a site like iPage) –Buy domain name ( –iPage has registrar (e.g., FastDomain Inc.) register domain name Must provide ANSs for domain (e.g., ns1.ipage.com) –Upload content into your home directory E.g., /home/users/jdoe –Point domain name to your home directory

4-3 Marking Up with HTML HTML is Hypertext Markup Language –Notation for specifying Web page content and formatting Hidden tags (mark up) describe how words on a page should look Formatting with Tags –Words or abbreviations enclosed in angle brackets –Come in pairs (beginning and end): –Tags are not case-sensitive

4-4 Tags for Bold, Italic, and Underline Bold: Italic: Underline: Veni, Vidi, Vici! produces: Veni, Vidi, Vici! –Note nesting Some tags do not surround anything, so they don't have an ending form – inserts a horizontal rule (line) – inserts a line break

4-5

4-6 A Basic HTML Web Page Begins with and ends with Starter Page Hello, World!

4-7 Gather Your Tools For making Web pages you need two tools –Web browser (like FireFox) –Simple text editor (like NotePad) HTML is plain text Create file with contents from last slide

4-8 Displaying the HTML Source File Save text in a file like “myPage.html” Open your web browser and use “Open File…” to display “myPage.html” – Can also double-click file Use this page as a template

4-9 Structuring Documents Markup language describes how a document's parts fit together Headings –Eight levels of heading tags –Headings display material in large font on a new line Pope Cardinal Archbishop produces: Pope Cardinal Archbishop

4-10

4-11 HTML Format vs. Display Format Browser ignores how we format the HTML source We usually use an indented form though Pope Cardinal Archbishop

4-12 White Space We use white space in HTML for readability –spaces, tabs, new lines Browser turns any white space sequence in the HTML source into a single space –Exception: Preformatted information between and tags is displayed as it appears

4-13 Brackets in HTML: The Escape Symbol What if our web page needed to show a math relationship like 0 r Browser would interpret as a paragraph tag Need an escape symbol ( & ) < displays as < > displays as > & displays as & So the HTML would be 0 < p > r

4-14 Accent Marks in HTML Letters with accent marks use the escape symbol &eactue; displays as é ñ displays as ñ Other useful special symbols (non-breaking space) &mdash– (em dash) Lists on sites like

4-15

4-16 Putting it All Together With just these few tags we can make an interesting Web page –Title is shown in the browser title bar –Russell’s paradox is in bold face –In HTML source, the paragraphs are indented more than the headers to make them readable –Horizontal line between the two paragraphs spans the width of the browser window –An acute accent appears in Magritte’s first name –French phrase is in italics, as is the word picture

4-17

4-18 Marking Links With Anchor Tags There are two sides of a hyperlink Anchor text (highlighted, clickable text in the current document) Hyperlink reference (the target URL address) Anchor Text

4-19 Examples of Anchor Tags Bertrand Russell displays as Bertrand Russell See the manual please. displays as See the manual please.

4-20 Anchor Tags (cont'd) Absolute pathnames: Reference pages at other web sites using complete URLs Course Page Full URL is needed because the page is remote and the web server needs to be told where to find it in the file system

4-21 Anchor Tags (cont'd) Relative pathnames: Reference pages stored in directory relative to current directory Read this file. Relative pathnames are more flexible –Can move web files around as a group Relative pathnames can also specify a path deeper or higher in the directory structure./subdir/filename../subdir/filename. Current directory.. Parent directory

4-22 If we are at file bios/sci/russell.html then the source file for Magritte can be designated with relative path../../art/magritte.html The “../../” part say to go up two levels