Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.

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

What happens when you create an HTML document and include pictures.
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.
LIST- HYPERLINK- IMAGES
Lecture HTML Images. Use for Images Photos and Graphics Buttons for Navigation Bullets for Lists Backgrounds Symbols and Icons Logos.
Web Page Development Identify elements of a Web Page Start Notepad
HTML Lesson 1 TBE 540 Farah Fisher. Prerequisites Before beginning this lesson, the student must be able to… Access web pages and navigate the web Access.
Images By Tara Frieszell By Tara Frieszell. Adding images to your website will make it more interesting and add to the design. However, some viewers aren’t.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
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.
Creating and Editing a Web Page
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
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.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Images in HTML PowerPoint How images are used in HTML.
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.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
Last week you should have had something that looked like this.
Enhancing Your Web Site—Adding Links Web Page **YOU MUST HAVE COMPLETED THE 1ST 3 WEB PAGES BEFORE YOU CAN DO THIS ONE. **YOU SHOULD HAVE COMPLETED THE.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
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.
Web Design (8) Images (2). My Holiday Photos An exercise in adding and linking images. Create a new website folder calling it ‘My Holiday Photos’. In.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
Enhancing Your Web Site 2 assignments: 1st—complete the worksheet 2nd—create your 3RD HTML web page following the directions in this PowerPoint where it.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
This shows CIS17 and the first day introduction..
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
REEM ALMOTIRI Information Technology Department Majmaah University.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Click on CIS120/17 to go to website for course. The week of will tell you what is planned for the week and what has been assigned.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Web Page Design XHTML Lesson 4. Adding Structure 4 A div tag –Used to divide up a web page and to add structural meaning to the page. –Will not change.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
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.
Computer Basics Introduction CIS 109 Columbia College.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images, Hyperlinks, and Sound
Images in HTML PowerPoint How images are used in HTML
Intro to HTML Mr. Singh.
Enhancing Your Web Site
HTML Lesson 3.
HTML Images CS 1150 Spring 2017.
COMPUTING FUNDAMENTALS
Enhance your website.
Images, Hyperlinks, and Sound
HTML Images CS 1150 Fall 2016.
Enhancing Your Web Site—Adding Links Web Page
Lesson 7 Graphics.
HTML.
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Introduction to HTML Lists, Images, and Links

Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save As Open your HTML, then do File>Save As Make sure your saving in the same place Make sure your saving in the same place ‘Save As Type’ should be ‘All Files’ ‘Save As Type’ should be ‘All Files’ In ‘File name’, use the same name but put ‘2’ at the end then ‘.html’ In ‘File name’, use the same name but put ‘2’ at the end then ‘.html’ Click the Save button Click the Save button Remove everything between the and tags Remove everything between the and tags Change the title appropriately Change the title appropriately

Lists Lists are used to group related pieces of info together Lists are used to group related pieces of info together Makes it clear they are related Makes it clear they are related Makes it easier to read Makes it easier to read Can be ordered (numbered) or unordered (bulleted) Can be ordered (numbered) or unordered (bulleted)

Unordered List Creates a bulleted list Creates a bulleted list Uses one set of tags enclosing one or more sets of tags Uses one set of tags enclosing one or more sets of tags Like this: Like this:<UL><LI>Item1</LI><LI>Item2</LI></UL>

Unordered List Example Put this in the Body of your HTML: Put this in the Body of your HTML: Some facts about lists Some facts about lists <ul> They group things They group things Some have bullets Some have bullets Some have numbers Some have numbers </ul> 1

Ordered List Creates a numbered list Creates a numbered list Uses one set of tags enclosing one or more sets of tags Uses one set of tags enclosing one or more sets of tags Like this: Like this:<OL><LI>Item1</LI><LI>Item2</LI></OL>

Ordered List Can also use letters or roman numerals by using the ‘Type’ attribute on the tag Can also use letters or roman numerals by using the ‘Type’ attribute on the tag Like this Like this ?=a - lower case letters ?=a - lower case letters ?=A - upper case letters ?=A - upper case letters ?= i - lower case roman numerals ?= i - lower case roman numerals ?= I - upper case roman numerals ?= I - upper case roman numerals

Ordered List Example Put this after the unordered list: Put this after the unordered list: Steps to add a list Steps to add a list <ol> Type the OL or UL tag Type the OL or UL tag Type the list items Type the list items Type the correct end tag Type the correct end tag </ol> Next, try out the ‘type’ options Next, try out the ‘type’ options 2

Images Used to make your web page more interesting (among other things) Used to make your web page more interesting (among other things) Use caution when adding images Use caution when adding images Download times Download times Not all people may be able to see them Not all people may be able to see them

Images Can be any graphic file Can be any graphic file Pictures Pictures Drawings Drawings Buttons Buttons Etc., etc. Etc., etc. Can be still or animated (moving) Can be still or animated (moving) Multiple types: jpg, gif, png, etc. Multiple types: jpg, gif, png, etc.

Images Using images requires the browser to find a file containing the image Using images requires the browser to find a file containing the image You must provide the filename and possibly the file’s location (path) You must provide the filename and possibly the file’s location (path) If you don’t provide a location, the image file must be in the same folder as the HTML source file If you don’t provide a location, the image file must be in the same folder as the HTML source file

Images Displayed using the IMG tag Displayed using the IMG tag The IMG tag uses the SRC (source) attribute to tell it the name (always) and location (if necessary) of the image file The IMG tag uses the SRC (source) attribute to tell it the name (always) and location (if necessary) of the image file Like this: Like this:

Images IMG tag also uses the ALT (alternative) attribute to show text if the picture can’t display IMG tag also uses the ALT (alternative) attribute to show text if the picture can’t display Like this: Like this: IE will also show it as a tooltip IE will also show it as a tooltip

Images Other IMG attributes Other IMG attributes HEIGHT=# (# is number of pixels or %) HEIGHT=# (# is number of pixels or %) WIDTH=# WIDTH=# ALIGN=? – controls images position in relation to the text around it ALIGN=? – controls images position in relation to the text around it ? can be LEFT, RIGHT ? can be LEFT, RIGHT

Images Example First, find and save an image file First, find and save an image file Go to the Web and find a picture Go to the Web and find a picture Right-click on it, then ‘Save Picture As’ Right-click on it, then ‘Save Picture As’ Change ‘Save In’ location to the same folder where your HTML file is Change ‘Save In’ location to the same folder where your HTML file is Change the filename to something short and sweet Change the filename to something short and sweet Note what’s in ‘Save as type’ Note what’s in ‘Save as type’ Click ‘Save’ Click ‘Save’

Images Example Put this after the ordered list: Put this after the ordered list: Image stuff Image stuff I’m trying out images. This might be fun – well, sort of. ‘filename’ is what you called it ‘filename’ is what you called it ‘filetype’ is what was in ‘save as type’ when you saved it ‘filetype’ is what was in ‘save as type’ when you saved it 3

Images Example Put this after the last image stuff: Put this after the last image stuff: More Image stuff More Image stuff Let’s see what happens when I use the attributes on the IMG tag. Enter different values for # and ??? and see what happens Enter different values for # and ??? and see what happens

Links Main way web pages are connected Main way web pages are connected Called Anchor links Called Anchor links Uses the Anchor tag Uses the Anchor tag Whatever is between the two tags becomes the link on your page Whatever is between the two tags becomes the link on your page You can link to virtually any file You can link to virtually any file

Links The tag uses the HREF attribute to point to the other page/file. The tag uses the HREF attribute to point to the other page/file. Like this: Like this: Text that shows as the link Text that shows as the link

Links As with images, links require the browser to find the page or file As with images, links require the browser to find the page or file For external web pages, you must provide the correct URL (it’s best to include the whole thing including For external web pages, you must provide the correct URL (it’s best to include the whole thing including For local pages and files, you must provide the filename and possibly the file’s location (path) For local pages and files, you must provide the filename and possibly the file’s location (path) If you don’t provide a location, the page/file must be in the same folder as the HTML source file If you don’t provide a location, the page/file must be in the same folder as the HTML source file

Links External web page example External web page example Yahoo Yahoo Local web page example Local web page example My Page My Page Local file example Local file example My doc My doc

Links Example - External Put this after the image stuff: Put this after the image stuff:<BR> External link External link Click here for the AJC Click here for the AJC <BR>

Links Example – Your Other Page Put this after the external link: Put this after the external link:<BR> Link to my other page Link to my other page Click here for my first web page Click here for my first web page <BR> 4

Links Example – Your Other Page Open your first HTML file and add this at the bottom: Open your first HTML file and add this at the bottom:<BR> Link to my other page Link to my other page Click here for my second web page Click here for my second web page <BR>

Links Want to create a popup? Use the TARGET=“_blank” attribute to open the linked page in another window Want to create a popup? Use the TARGET=“_blank” attribute to open the linked page in another window Yahoo Yahoo Try it!! Try it!!