Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
HTML popo.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
WeB application development
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Web Page Development Identify elements of a Web Page Start Notepad
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
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.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
Creating a Simple Page: HTML Overview
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.
Internet Fundamentals Total Advantage MS Excel 97, Hutchinson, Coulthard, 1998 McGraw Introduction to HTML Chapter 7.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Understanding HTML Code
 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.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
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.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Getting Started with HTML Please use speaker notes for additional information!
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.
Just Enough HTML How to Create Basic HTML Documents.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
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.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
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.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
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.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
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
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
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.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
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.
Online PD Basic HTML The Magic Of Web Pages
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to XHTML.
Introduction to HTML- Basics
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Presentation transcript:

Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007

30 June 2007Dave Edsall - IG3C2 HyperText Markup Language What is markup? –Editors used to physicly mark-up a document with changes and typesetting instructions Computers came along and used programs (languages) Standard devised to specify agreed-upon common mark-up commands SGML – Standardized Generalized Markup Language

30 June 2007Dave Edsall - IG3C3 Hypertext Physicists at CERN looked for an easy way to exchange information IT guys at CERN were very involved in SGML and LaTeX (another markup language) Internet was heavily used at CERN SGML + Internet = HTML Hypertext – linking information over a network

30 June 2007Dave Edsall - IG3C4 Mark-up? In HTML, mark-up is content: –I want a list inside a paragraph –I want a title before the paragraph –I want a horizontal bar beneath the title Notice I didn’t specify what any of this should look like. I just organized my content HTML is NOT style (that’s CSS)

30 June 2007Dave Edsall - IG3C5 Language Languages are instructions used to tell a computer what to do Writing an instruction – follow rules (syntax) HTML rules are tags and attributes

30 June 2007Dave Edsall - IG3C6 Tags Tags are written between a For example, a paragraph begins with and ends with The end tag is often ignored

30 June 2007Dave Edsall - IG3C7 Attributes Attributes are extra qualities associated with a tag. Attributes can be required or optional. It depends on the tag. Attributes are written inside the tag, using an equals sign (=), some text and possibly some quotation marks (“”)

30 June 2007Dave Edsall - IG3C8 Attributes - Example Suppose you want to style your paragraph with a background color of blue This is my paragraph and not yours! While we are here, note that HTML ignores extra spaces.

30 June 2007Dave Edsall - IG3C9 Which HTML? The first line of your document should be the Document Type Definition (DTD) The DTD informs the browser what version of HTML it should obey

30 June 2007Dave Edsall - IG3C10 Containing Your Content Most everything in the document is contained between tags. The and tags inform the browser that everything between them should be treated as HTML Everything in a document should be contained between and

30 June 2007Dave Edsall - IG3C11 What’s in Your ? The first container inside your container is usually the container. This is the header portion of your document Here you put things your browser may use later, like styles, Javascript, META tags and document titles

30 June 2007Dave Edsall - IG3C12 What’s in Your ? IAGenWeb Pocahontas url(style.css);

30 June 2007Dave Edsall - IG3C13 ers and Search Engines tags really aren’t used anymore by web crawlers so they won’t increase your ranking They are useful when YOU search your files for keywords tags ARE useful for search engines. Titles give search sites text to use when displaying links to your pages

30 June 2007Dave Edsall - IG3C14 Exercise 1 – Make Your First Page Start Notepad –Click start -> All Programs -> Accessories -> Notepad Open the file exercise1.html in the folder html –Click File -> Open Inside the container, add the following: Hello, World! Inside the body container, add some text Save the file Open the file with your browser. Is the title in the title bar of the browser? Does your text show up in the window?

30 June 2007Dave Edsall - IG3C15 OK. Content Already! The content displayed by the browser is contained between and This is paragraph 1 This is another paragraph. I AM capable of typing more than one sentence.

30 June 2007Dave Edsall - IG3C16 Heading Tags Add some section titles with heading tags Heading tags go from large ( ) to very small ( ). Very useful for delimiting sections and subsections in your document Headings must use both a start tag and an end tag

30 June 2007Dave Edsall - IG3C17 Example - Headings This is my first page Here can be some generic introductory text Chapter 1 – How I Found My Way to IAGenweb The IAGenWeb is a very welcoming group… 1.1 – Getting involved It’s pretty simple to get started. You can be a volunteer or adopt a county

30 June 2007Dave Edsall - IG3C18 Exercise 2 – Headings Start Notepad Open the file exercise2.html in the folder html Inside the body container, add some headers and some normal text like the following: This is a big heading Ok. Wanna see something smaller? Here is a smaller header Save the file Open the file with your browser. Do you see different sized headings?

30 June 2007Dave Edsall - IG3C19 Organizing Content - Lists Ordered lists are numbered, each item preceded by a number counting up Ordered lists are contained between and Each list item begins with and ends with

30 June 2007Dave Edsall - IG3C20 Organizing Content - Lists Unordered lists create bullet points, just like this slide Ordered lists are contained between and As with ordered lists, each list item begins with and ends with

30 June 2007Dave Edsall - IG3C21 Exercise 3 – Lists Start Notepad Open the file exercise3.html in the folder html Inside the body container, add an ordered list and an unordered list Save the file Open the file with your browser. Are the ordered lists numbered? Are the unordered lists bulleted?

30 June 2007Dave Edsall - IG3C22 Organizing Content -Lists Lists can be nested where you have one list inside another This is item 1 This is the first item of a list inside a list Make sure the inner list is closed before the outer list is closed. Here, that means comes before

30 June 2007Dave Edsall - IG3C23 Organizing Content - Tables Sometimes data needs to be listed in rows and columns. That’s where tables come in Tables are contained between and tags Table rows are defined next, using and tags Each column in a row is defined with and tags (table data)

30 June 2007Dave Edsall - IG3C24 Organizing Content - Tables A table with two rows and two columns Row 1 Column 1 Row 1 Column 2 Row 2 Column 1 Row 2 Column 2

30 June 2007Dave Edsall - IG3C25 Exercise 4 – Tables Start Notepad Open the file exercise4.html in the folder html Inside the body container, add a table with two rows and two columns with any content you choose Save the file Open the file with your browser. Do you have a table?

30 June 2007Dave Edsall - IG3C26 Picture This -Images Add images to your pages using the img tag

30 June 2007Dave Edsall - IG3C27 Picture This -Images The alt attribute is useful for browsers that cannot display images (such as screen readers for the blind)

30 June 2007Dave Edsall - IG3C28 Links – The Power of the Web The innovation of the World Wide Web was linking pages to each other Links to other pages are added using the anchor tag – IAGenWeb Site

30 June 2007Dave Edsall - IG3C29 Links – The Power of the Web IAGenWeb Site The visitor to your site clicks on the text between the and tags, in this case IAGenWeb Site. Remember to use the tag or everything becomes your link. The value of the attribute href is the Uniform Resource Locator (URL). The URL instructs the browser which page to load when your visitor clicks the link

30 June 2007Dave Edsall - IG3C30 URLs URLs can be on the same computer as your web site or on a remote computer Usually, if the URL begins with http and an address, the page to be loaded is on another server If the URL does not contain an address, the browser looks on the same web server as the current page

30 June 2007Dave Edsall - IG3C31 URLs on Your Server Suppose the current web page is located at and this page contains the tag Cemetery Records In this case, clicking on Cemetery Records is the same as if you had used By doing this, you can organize all of your information in folders and then simply refer to those folders

30 June 2007Dave Edsall - IG3C32 Exercise 5 – URLs Start Notepad Open the file exercise5.html in the folder html Inside the body container, add the following links: IAGenWeb web site Here's my tables exercise Save the file Open the file with your browser. Do you have a table?

30 June 2007Dave Edsall - IG3C33 Page Layout Useful sites provide navigation links on every page It would be nice if those links were in the same place on every page Create separate sections for every page on your site: –Navigation section –Content section

30 June 2007Dave Edsall - IG3C34 Page Layout Create these sections using or tables in conjunction with style sheets creates divisions in your documents. A large table containing the entire page can do the same thing Use styles to instruct the browser where to put the divs or table cells

30 June 2007Dave Edsall - IG3C35 Tables for Page Layout <table style=“width: 100%;” Records Cemeteries Welcome to the Pocahontas County, Iowa GenWeb site! Are you looking for your ancestors? We might know where they are!

30 June 2007Dave Edsall - IG3C36 Questions?