+ All Categories
Home > Documents > Basic HTML Hyper text markup Language. Lesson Overview In this lesson, you will learn to: ...

Basic HTML Hyper text markup Language. Lesson Overview In this lesson, you will learn to: ...

Date post: 20-Jan-2018
Category:
Upload: britton-banks
View: 218 times
Download: 0 times
Share this document with a friend
Description:
Image extensions There are multiple formats of images. Each format has a different file extension. You can use them as src (source) for tag  Image.gif  Image.jpg  Image.png  Image.bmp  Image.tiff
23
Basic HTML Hyper text markup Language
Transcript
Page 1: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Basic HTMLHypertext markup Language

Page 2: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Lesson Overview In this lesson, you will learn to: Images

Colors

Page 3: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Image extensionsThere are multiple formats of images. Each format has a different file extension. You can use them as src (source) for <img> tag Image.gif Image.jpg Image.png Image.bmp Image.tiff

Page 4: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Images <img …./> - <img> (image) is the

element used to embed images <img src="smiley.gif" /> - src (source)is

an attribute of <img> which provides path to the image being embedded. It embeds an image file “smiley.gif” from the same directory as the html file.

Page 5: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Images <img src=“c:\webdesign\newpic.gif" />

Embeds an image file “newpic.gif” from directory c:\webdesign

<img src=“\\server\webdesign\anotherpic.gif" />Embeds an image file “anotherpic.gif” from the directory \\server\webdesign

Page 6: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Images <img src="smiley.gif" width="32"

height="32“ alt=“smile”/> Width and height attributes of <img> decides dimensions of embedded image. Only use one of these so the image doesn’t stretch.

The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute).

Page 7: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Where can I get images for my website

Page 8: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Sources of images Pictures taken by you using your digital

camera Pictures taken by someone else Pictures created by you using software

like photoshop Pictures created by someone else using

software like photoshop

Page 9: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Copyright of images If you are using someone else’s picture

Please attribute picture to original contributor

Please make sure that you have read and understood copyright license

Wikimedia commons – free license. you can use images from there (give attribute to original contributor)

Page 10: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

How to attribute pictures Please put the title of the picture (if

available) name of the author/creator (if available) E.g Thanks to Mary smith for this picture

of a panda E.g Picture courtesy of Mary Smith E.g Picture by Mary Smith

Page 11: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…
Page 12: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Assignment - Images Find 2 images for your assignment 1e.g

http://commons.wikimedia.org/wiki/Main_Page Save them to the SAME FOLDER as assignment1 Add 2 image tags to your assignment 1page to

verify the results. Attributes: src: Use the complete file name (pic.jpg) width or height (but not both) alt

Page 13: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

What are primary COLORS

Page 14: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

REDGREEN BLUE

Page 15: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

RGB Mixing RED – 0-255GREEN – 0 - 255BLUE- 0-255creates all other colors

Page 16: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Hex Mixing RED – 00-FFGREEN – 00 - FFBLUE- 00-FFcreates all other colors

Page 17: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Hexadecimal numbers0,1,2,3,4,5,6,7,8,9,10(A),11(B),12(C),13(D),14(E), 15(F)

Page 18: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Hex Colors are defined as #000000#FFFFFF#FF0000

Page 19: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

RGB Colors are defined asrgb(0,0,0)rgb(255,255,255)rgb(0,255,0)rgb(255,0,0)

Page 20: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

More Ways to mix:Cyan, Magenta, Yellow, BlackCMYKcmyk(0, 100, 50, 0)

Hue, Saturation, LightHSL Mixinghsl(120, 100%, 50%)

Page 22: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Setting font color <p><font color=“red”>This is red</font></p> <p><font color=“#0000FF”>Blue</font></p> <p><font

color=“rgb(0,255,0)”>Green</font></p> <body bgcolor=“yellow”>….</body>

Page 23: Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Images…

Assignment - Colors On top of the two images you have put

on your page put a title. Make the title the dominate color for

that image


Recommended