Enhance your website.

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

DREAMWEAVER Welcome to our website!
Working with Images and HTML
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
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.
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.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Designing a Classroom Web Site Using NVU Beginning Level.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Using images with XHTML Please use speaker notes for additional information!
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.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Adding Hyperlinks To a Web Page. Hyperlink and Its Add-Ons Main way to connect web pages and move throughout a web site. Uses the Anchor Tag which is.
Understanding HTML Code
WELCOME EF 105 Spring EF 105 Computer Methods in Engineering Problem Solving Week 2: FrontPage Introduction to Software Use to create Web Pages.
Images in HTML PowerPoint How images are used in HTML.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
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.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
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.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
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”
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.
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.
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.
AGB 3/26/121 ++=. 2 Yes, believe it or not this is a complete webpage. It has a Head, Title and Body between the start and end HTML Tag.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Images. Intro What is it? Getting your image Inserting Moving Resizing Cropping.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
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 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Images. Working with Images What is the difference between the GIF and JPEG formats? GIF – Graphic Interchange Format Limit to 256 colors Often used for.
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.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
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.
Let’s Try It! Open Notepad
HTML Basics.
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
LAB Work 01 MBA 61062: E-Commerce
HTML Coding A new language.
Images in HTML PowerPoint How images are used in HTML
With Microsoft FrontPage 2000
HTML GUIDE Press F5 and then
Enhancing Your Web Site
USING DREAMWEAVER Contents: Assigning a Root Folder
Images & Hyperlinks.
Chapter 3 Images.
Creating a Web Site with Links
15.2 More Basic HTML & CSS.
USING DREAMWEAVER MX 2004 Contents: Assigning a Root Folder
More Basic HTML 2 assignments: 1—complete the worksheet
Enhancing Your Web Site—Adding Links Web Page
Images in HTML PowerPoint How images are used in HTML
15.1 Fundamentals of HTML 2 assignments: 1—complete the worksheet
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Enhance your website

Tags and Features (Add-Ons) Tags (singles or sets) can have CSS Properties or Features. Let’s call the tag features “CSS Add-On’s”. CSS Add-On’s allow tags to have additional features such as size, color, width, etc… CSS Add-On’s will always go after the opening tag only and never in the closing tag, if it’s a set.

Changing the Appearance of the Horizontal Rule To Change the Length (width property)– <hr style=“width:number or %”> Thickness (height property) - <hr style=“height:number in pixels”> Alignment (align property)– <hr style=“align:right or center or left”> Combine the CSS properties when needed - <hr style=“width:200;height:10;text-align:right”>

Changing the Appearance of <body>, <p> or <h1>-<h6> Font size ranges: x-small, small, medium, large x-large, xx-large small is little font medium is normal - like Word size 12 large is big To change the Font Size(font-size property) <body style=“font-size:small”>text here </font>

Font Family – changes the appearance of the font such as Arial or Comic Sans. <body style=’’font-family:arial’’>text </body> You can combine all of the font tag’s CSS properties in one tag if they apply to the same text: <body style=“font-size:small;font- family:arial”> text </font>

ALIGNING TEXT To Align using the Paragraph Tag: <p style=“align:right or center or left”> type here </p> To Align using the Heading Tag: <h1 style=“align:right or center or left”> type here </h1>

How to Insert Color??? Use the tag: <Body BGColor = “Color”> Go to www.colorpicker.com Pick color want by pointing: then use the HEX Number instead of the “Color Name”.

Try Inserting color Now you try with your Presidential website! Use color picker.

Adding Images

Adding Images Images: Can be moving (animated) or non- animated (not moving). Can be considered cartoons, graphics, pictures (real), buttons or icons. Image Source tag will appear as such– <img src> It isn’t a set, so don’t close it.

<img src=“flowers.gif”> Images Extensions Images must use the image filename’s and the extension either .jpg, .gif, .bmp or .png <img src=“flowers.gif”> .gif & .bmp are mostly for clip arts, icons & graphics. .jpg (jpeg) is for photos & takes up more disk/file space. .png is for graphics & photos; updated version of gif, but can’t be animated.

Choose a good descriptive name Filename plus the graphic’s extension Images “Alt” Alternative Text Image – a way to ID your graphic or image in case it’s not loading or if it’s turned off. Roll over your picture and it’s shown You MUST ALWAYS alt= with <img src> Alt is a word or words used to describe your picture <img src=”rose.jpg” alt=”rose”> Choose a good descriptive name Filename plus the graphic’s extension

Steps to Adding an Image 1st Find an image. 2nd Save the image by RIGHT-CLICKING on it. Then Switch to the file location then RENAME to something shorter but sensible. Look at the extension given such as .gif, .jpg 3rd on the Notepad Add the Image Source Tag with image’s filename.ext & Alternative Text image <img src=”filename.ext” alt=”description”>

Changing the Image Size to the <img src> add on Height = number or percentage % Width=number or percentage % <img src = ”BillGates.gif” alt =”Bill Gates” width=100 height=150%>

Aligning the Image with Words or Text Images can be placed any where in your text. Use the “align” add-on with the below options: Top – text is aligned with image’s top. Middle – text is aligned with image’s middle. Bottom – text is aligned with images’ bottom. Left – image on left & text wraps on right. Right – image on right & text wraps on left. <img src=”flowers.gif” alt=”rose” align=”top, bottom or middle or right or left”>

Don’t Forget to Combine When Possible <img src=”Gates.gif” alt =”Bill Gates” width=100 height=150% align =“top”> Some cool animation websites: www.iconbazaar.com (graphics, animation & backgrounds) www.artie.com (graphics, animation & backgrounds)

Let’s Practice Adding Images

Before you begin To get an image to add to your web page go to Google images. Search your favorite animal Right click the image and choose Save Picture as Go to your folder in the Save In section Make sure it is in the SAME LOCATION of your My1stWebPage file. Type a name for the image Be sure the type is .jpg

After the last list you typed: <br> <br> <br> <img src=“the name you typed.jpg" alt=”favorite animal Middle" Height=25% Width=25% align="middle"> This image is adjusted using percentages and the text is aligned with the image's middle. This image is adjusted using numbers <img src=“the name you typed.jpg " alt=” favorite animal Bottom" Height=85 Width=85 align= "bottom"> and the text is aligned with the image's bottom.

Save the Notepad & Refresh the Browser <img src=“the name you typed.jpg" alt=” favorite animal right" Height=your decision Width= your decision align= "right"> I adjusted this images and the text is on the right, but the text wraps on the left. <br><br><br><br><br> <img src=“the name you typed.jpg" alt= " favorite animal top“ align=“top”> When you use align="top", only the first line of text will be at the top of the image. If you have more than one line of text, the others will jump down to the bottom of the image! <br> <br> <hr your of size, width and color> Save the Notepad & Refresh the Browser

Remember: your colors and picture can be different

Close both your Browser & Notepad

Adding Links

Hyperlinks To link webpage to webpage: Type hyperlink code: <a href=“filename.html”>Name of link</a> Put at bottom or top of webpage! <a href=“Nerd.html">Home</a> | <a href=“Nerd1.html">Nerd1</a> | | <a href=“Nerd2.html">Nerd2</a> Now you try!

Hyperlinks Main way to connect web pages and move throughout a web site. Uses the Anchor Tag <a> which is a set. <a> </a> Must have the href add-on (Hypertext Reference) The tag will appear as <a href=“URL, Filename or Email Address”>

Hyperlinks Continues The text after the <a href> is the Target or Active Hyperlink & will become the color Blue and Underline. Then after Clicking on the link, it will turn Purple.

Linking to the Net <a href =”page’s URL”> Word to be linked </a> The URL has to be the exact web site’s address including the http:// example: <a href=”http://www.yahoo.com”> Yahoo! </a>

Linking to Open in a Different Browser Window To make the Web Page Open in a Different Browser Window: put the add-on target=“_blank” after the url in the anchor tag. example: <a href=“http://www.yahoo.com” target=“_blank”> Yahoo! </a>

Let’s Practice Adding Links

Creating a New Web Page Open a New Notepad Start→Programs→Accessories→Notepad Click Format → check Word Wrap Save the new file as My2ndWebPage.html When finished typing, don’t forget to Save the Notepad and Refresh your New Browser.

<title> Your Name Second Web Page</title> </head> <html> <head> <title> Your Name Second Web Page</title> </head> <body bgcolor="gray" text="white"> <font size=6> This text is a <a href="http://www.yahoo.com"> link </a> to a page on the World Wide Web. <br><br> This is a link to the <a href = "http://www.polk.k12.ga.us" target=“_blank"> Polk County School System's </a> website & it will open in a different Browser Window (Screen). </body> </html> Save the new Web Page & Refresh it’s Browser

Adding Links to Connect Web Pages

Linking to Pages (Files) on your Disk/Computer The computer file location has to be the exact including the drive’s name such as a:\ or c:\ or e:\ or f:\ Example of using a File on a your disk, computer or flash: <a href=”a:\Marquee Practice.html”>Marquee</a> If using a Folder’s Name: Example <a href=”a:\WebPage\Marquee Practice.html”> Marquee</a>

Let’s Practice Linking Pages

After the last thing you typed on My2ndWebPage add: <br> <br> <br> I have created a link that will go my <a href="My1stWebPage. html"> 1st Web Page </a> Now, Save, Refresh & Click onyour Link. You should now be on your 1st WebPage!

Linking Page Practice Cont’ When you clicked the link on My2ndWebPage and it took you to My1stWebPage If you wanted to return to My2ndWebPage you could press the BACK button OR Simply create a link! Let’s try creating a Link from the 1st Page back to the 2nd page. With My1stWebPage Browser showing, click on View, Source to Open the Notepad

Save the Notepad & Refresh the Browser Make sure you’re still on My1stWebPage After the last thing you typed add: <br> <br> <br> <font style=“font-size:large”> Click here to go back to the <a href ="My2ndWebPage.html"> 2nd Page </a> </font> Save the Notepad & Refresh the Browser

Recap Activity If you need to review any tags or concepts learned throughout this and the other tutorials, you can use the HTML files you have created. Now, close your browser and notepad. Proceed to the HTML Web Page Assignment given from your teacher.