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.

Slides:



Advertisements
Similar presentations
3.02D HTML Overview 3.02 Develop webpages.
Advertisements

Web Development & Design Foundations with XHTML
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML: HyperText Markup Language Hello World Welcome to the world!
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.
XHTML Basics.
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
CIS101 Introduction to Computing HTML Project Two.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Tutorial 1: Getting Started with HTML5
Basic HTML The Magic Of Web Pages. Create an HTML folder  Make a folder in your H drive and name it “HTML”. We will save EVERYTHING for this unit here.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
DAT602 Database Application Development Lecture 14 HTML.
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
HTML (HyperText Markup Language)
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
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.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
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.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
The Web A Resource for All of Us Introduction Objectives Recall the history of computers: before 1950, Internet, personal computers Identify the purpose.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
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,
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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 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.
4 HTML Basics 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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
INT222 – Internet Fundamentals
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Online PD Basic HTML The Magic Of Web Pages
Web Development & Design Foundations with HTML5 8th Edition
XHTML Basics.
Introduction to XHTML.
XHTML Basics.
XHTML Basics.
XHTML Basics.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
XHTML Basics.
Creating Web Documents
Presentation transcript:

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 –Create different types of links  Interpret the meaning of html tags and attributes  Identify common html tags, the proper syntax, and their purpose –Recognize and create special characters –Explain the difference between tags and attributes

HTML  Not a programming language  Hypertext Markup Language – text based formatting system for the web  XHTML – latest version of HTML  Platform independent

HTML  Use a plain text editor to type your HTML text:  Save your HTML page  To see your page

Get ready 

HTML Tags  Start with a “ ”  Usually in pairs.  To view HTML tags: right click and “View Source”

File Structure  tags: identify your file as an HTML file. –They begin and end every HTML document  tags: indicate information about the document  tags: appear on browser title bar  - surround text

HTML Tags  Properly nest HTML tags

XHTML  To make your HTML document compatible with XHTML –Use the traditional version of –Extend the tag  Copy the and found at the bottom of page 17 into the top of your web page

Sample 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Traditional//EN" "DTD/xhtml-trasitional.dtd"> <html xmlns=" xml:lang=en" lang="en"> Your Title appears here What happens to extra lines?

Tips  Extra spaces –Use the Under_score or –Capital letters to separate words: UnderScore  Use spaces in the document <html xmlns=" xml:lang=en" lang="en"> Is interpreted the same as one line

The Initial HTML File in Internet Explorer the title you entered between the tags address box indicates the name and location of the HTML file page content will appear here You should occasionally view the formatted page with different Web browsers to check compatibility, verify that there are no syntax errors, or other problems.

HTML Syntax  Tags: control the appearance of the document content –the name of the HTML tag –attributes are –document content

Paragraph  Surrounded by the and tags.  A blank line is displayed before the text  Text is wrapped

Line Break   Moves text following this tag to the next line

Try this and see what happens <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd"> <html xmlns=" xml:lang=“en" lang="en"> Look at this text This shows what happens using the big tag. This shows bold text versus strong text plus use of the line break Next lets look at the italics tag the emphasis tag the teletype tag and finally the small tag

Creating Heading Tags  Six levels of headings: through  is the largest.  Headings are displayed in a bold font.

Interpretation of the tag by Different Browsers This figure shows how three different browsers might interpret a line of HTML code.

Six Heading Levels This figure illustrates the general appearance of the six heading styles. Your browser might use slightly different fonts and sizes.

Special Characters  Start with and end with

What do these represent?  &  <  >  ©  &plusmin;  Table 3.1 page 27 in your book has a list

Math and Science Tags , superscript , subscript

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1 -transitional.dtd"> <html xmlns=" xml:lang="en" lang="en"> Using more tags Sometimes special symbols are needed. For example: © to remind you not to make illegal copies or perhaps to make a footnote 1 so you won't be accused of plagiarism. Try this and see if your page looks like the next slide

Meta tags  Information not defined by other tags and attributes  Special instructions for Web server

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1 -transitional.dtd"> <html xmlns=" xml:lang="en" lang="en"> Meta Tags The page should change in a few seconds Sample with meta tags highlighted

Hypertext Links  How do we create links like the ones in the assignment?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1 -transitional.dtd"> <html xmlns=" xml:lang="en" lang="en"> Linking Examples Of course you can link to other web pages The W3C site that develops protocols. You can also link to send to the instructor: Click here This image was inserted just for effect. We will learn how to do this later. Also you can link to other places within the same page. Use this link to go to the top of the page. Click here

Hypertext Links  These links can point to: –another section –the same document –to a different document –to a different Web page –to a variety of other Web objects

Creating Hyperlinks  Use tags –Sometines called link tags when creating links  Default is underlined blue  href attribute, Hypertext Reference, indicates location to jump to.  click here to open a web site

Linking to Other Files  click here to open the page  click here to open a file in a different directory from your web page

Linking to adresses  click here to send to the instructor

Hypertext Links You can place hypertext links at the top of a web page to make it easier for the user to navigate to a particular section of the document instead of scrolling.

Anchor Tags Anchor Tags  The with the “name” attribute creates an anchor –Marks text or image so you can link to it –The id attribute is used with name  Anchored text is the destination of a link; it is not the text you click on

How an Anchor Works anchor hypertext links When the user clicks one of the hypertext links, the link will go directly to that section (anchor, which is the destination of the link) within the web page.

Displaying Linked Documents in a New Window  A Web page is displayed in the main browser window by default.  To open in a new browser window, use the <a href=“url >Hypertext

Exercise 1:What will this display? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1 -transitional.dtd"> <html xmlns=" xml:lang="en" lang="en"> Exercise 1 Can you determine how this will look? You should be able to follow the clicks Microsoft's home page Have you had enough of this today: H 2 O ?

Exercise 2: How would you write this using HTML?

Test 1 Comments  Objectives: 7.2 Recognize and identify components of the motherboard and their purpose 7.9 Identify the first computer programmer, first person to build a computer 7.10 Recall the history of the computers: before 1950, Internet, personal computers 9.1 Identify and apply the computer’s method of data representation 9.2 Add binary numbers 9.3 Distinguish between encoding schemes and numbering systems and their purpose 9.4 Determine the alphanumeric equivalent of an ASCII expression