SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Information and Communication Technology – 8
Understand the importance of images and graphics in
a web page ;
Utilize images into your page; and
Apply background in your HTML documents.
 You can create a web page with only text content, but it would
not be interesting compared to one that has an images.
 Your viewer will be able to effectively relate if there are visual
illustrations supplementing your text content.
 You can further elaborate and present the purpose of you
website into a more dynamic and creative way.
 File Size – Too large file size can lead to a slow loading speed of
the page. Most visitors don’t want to wait for a slow site and will
certainly look for a different choice.
 Cropping – Viewing dimensions are important as visitors want
to actually see the image, so it cannot be too small or large to fit
to the screen.
 Irrelevance – Photos are important and great addition to the
web page. But it should be related or relevant to the purpose of
the website.
 Complementary – Can showcase what’s the article/website is about. When
used alongside the article, it can give a readers a thorough
perspective of the topic.
 File Size – If an image is merely for monitor viewing, then the file size should
be at least 250 kilobytes. Resolution wise, it should be no more
than 640x480 pixels to fit well on most displays.
 Format – There are three types of images formats for website use: JPEG, GIF
and PNG.
 JPEG ( Joint Photographic Experts Group) – which is the most common and
popular, has the most compressibility; however too much will reduce the quality.
 GIF ( Graphics Interchange Format) – have good compressibility and are ideal for
photos with little color.
 PNG ( Portable Network Graphics) – can produce high quality display and overlay;
however it’s downside is its poor compressibility.
Two Types of GIF Images:
• Transparency – The image has transparent background and allows the web
page background to show through.
• Interlacing – The images are gradually displayed on the screen, and appear
blurry at first then come into focus when loading is done.
 Aesthetics – When choosing an image, consider its artistic value. Balance the
brightness and contrast in order to effectively emphasize the
subject.
 Layout – Carefully plan the position of an image by using a layout as random
placement can distract viewers. Limit photos designed to direct readers to one
per page; the rest should be positioned near the relevant contents so viewers
can easily understand the relationship between the images and content.
 There are two classes of images for web page:
 Inline Images – these images are loaded automatically when you load the page
itself.
 External Images – these images are loaded only at the request of the viewer. It will
not display when you load a page.
Syntax : <img src= “picture.jpg”>
 In HTML, images are defined with the <img> tag.
 The <img> tag is empty, it contains attributes only, and does not have a closing tag.
Tag Attribute Image Filename
Attributes Description
src (source) This specifies Address of the resource file
using URL.
alt ( Alternate text) The text to be use in case the browser cant
render the image.
width Specifies the width of the image.
height Specifies the height of the image.
The table shows the attributes that are specific to <img> tag/element.
 The attribute src (source) will specify the address or location of the image
that you want to insert in your HTML.
 When the image resides on the same folder as the HMTL document that
references it, you can just type the file name only with out any additional
information.
<img src=“picture.jpg”>
 If you want to refer to images that are stored in subfolder inside the folder
that contains your HTML documents, you should indicate the subfolder name
where the image is located.
My HTML Folder images
Example: <img src=“images/picture.jpg”
 You can add a descriptive text that will appear if the image might not display
for whatever reason.
 The alt attributes provides something meaningful text to replace or as a
substitute for an image and gives an idea of the image that is about to be
loaded.
Example: <img src=“picture.jpg” alt=“alternate text
for image”>
 Image size is expressed in pixels.
 You can change the width and height of the image by adding a
width=“new value” or height=“new value”
 But you can also specify both the width and the height.
<img src=“picture.jpg” style=“float:left” width=“250”>
<img src=“picture.jpg” style=“float:left” width=“250” height=“300”>
 Similar to text images can have margins and/or padding to separate them
from surrounding elements.
 There are two types of attributes that can control the space around the
image:
 Padding – this attribute controls the space around the content on the inside of the
element.
 Margin- this attribute controls the space surrounding the element.
* You can use either the two attributes for an image. When the image has a border, it
is better to use the margin attribute.
<img src=“picture.jpg” style=“float:left;margin-right:15px” width=“250”>
 To stop the text from wrapping around on an aligned image, use the clear
attribute, to break the line so that the next line of text begins after the end if
the image.
 You should apply this to the text tag and not inside the <img> tag.
Example: <p style=“clear:right”>
The clear attribute can have one of three values:
Left – this is for left-aligned images. It will break to an empty left margin.
Right – this is for the right aligned images. It will break to an empty right
margin.
All – breaks to a line clear to both margins.
 You can apply different kinds of basic colors in your page. HTML recognizes
16 of these:
 You can specify a background color for your entire page by adding an
attribute to its opening <body> tag.
 Example :
<body style=“background-color:aqua”>
or
<body bgcolor=“gray”>
For foreground color:
<body style=“background-color:teal;color:white”>
The two attributes are combined in a single style=statement,
and are separated using a semicolon as shown in the above
example.
 Similar to the background color, a background image is displayed behind text.
 By default the image is tiled to fill the page and scrolls with the page.
Example: <body style=“background-image:url(background.jpg)”>
or
<body style="background-color:white;background-image:url(background.png)">
By default, the background image is repeated both horizontally and vertically to fill the window. You can force it
not to repeat by adding the background-repeat to the body tag.
Example: background-repeat:repeat-x (repeat horizontally)
background-repeat:repeat-y (repeat vertically)
background-repeat:o-repeat
Syntax: <body style="background-color:white;color:white;background-image:url(image.url);background-
repeat:repeat-x">
 Using the different tags we have discussed in creating a
webpage, create a simple HTML document that will provide you
the same output on the picture given. (Triad)
 Use Notepad++ to create your HTML Document, name your file
“The HTML History_Grade_Section.html”
 Save the HTML document on your section’s folder.
 Use the necessary tags we have discussed, like Structural tags
as mandatory tags used to make the HTML document,
formatting tags for fonts, heading tags, paragraph tags, break
line tags and list tags.
Category 5 4 3 2 1
Code Structure Code are excellently
clear, concise, and
well organized with
excellent
sentence/paragrap
h construction.
Code are clear,
concise, and
organized with
excellent
sentence/paragrap
h construction.
Code are mostly
clear, concise, and
organized with good
sentence/paragrap
h construction.
Code is unclear
and/or
disorganized.The
structure is
confusing.
Code is unclear
and disorganized
and will certainly
won’t work.
Requirements and
Mastery
Met all of the
requirements,
followed all the
necessary formats
and exceptionally
shows mastery on
the use of tags.
1-2 requirements
are missing,
followed the
necessary formats
and somehow
shows knowledge
on the use of tags.
3-5 requirements
are missing,
followed the
formats and shows
minimal knowledge
on the use of tags.
6-7 requirements
are missing, tries to
follow the format
and shows very
minimal knowledge
on the use of tags.
All requirements
was missing and
not followed. No
understanding on
the tags at all.
Use of Class Time
-Used time well
during class period.
-Focused on getting
the website done.
-Never distract
others.
-Used time well
during class period.
-Usually focused on
getting the website
done and never
distract others.
-Used some of the
time well during
class period.
-There was some
focus on getting the
website done but
occasionally
distract others.
-Used some of the
time well during
class period.
-There was some
focus on getting the
website done and
most of the time
distract others.
-Did not use class
time to focus on
the hands-on OR
often distracted
others.

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
 
computer language - Html frames
computer language - Html framescomputer language - Html frames
computer language - Html frames
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 
Css3
Css3Css3
Css3
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
cascading style sheet ppt
cascading style sheet pptcascading style sheet ppt
cascading style sheet ppt
 
Css backgrounds
Css   backgroundsCss   backgrounds
Css backgrounds
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Advanced Cascading Style Sheets
Advanced Cascading Style SheetsAdvanced Cascading Style Sheets
Advanced Cascading Style Sheets
 
Html images
Html imagesHtml images
Html images
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
CSS
CSSCSS
CSS
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
 
Introduction to HTML5 Canvas
Introduction to HTML5 CanvasIntroduction to HTML5 Canvas
Introduction to HTML5 Canvas
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Publisher topic 1
Publisher topic 1Publisher topic 1
Publisher topic 1
 

Ähnlich wie HTML5 - Insert images and Apply page backgrounds

Ähnlich wie HTML5 - Insert images and Apply page backgrounds (20)

Html 5 and CSS - Image Element
Html 5 and CSS - Image ElementHtml 5 and CSS - Image Element
Html 5 and CSS - Image Element
 
HTML Images
HTML Images HTML Images
HTML Images
 
Images
ImagesImages
Images
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
Session no 4
Session no 4Session no 4
Session no 4
 
Animation in the web
Animation in the webAnimation in the web
Animation in the web
 
BVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptxBVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptx
 
3 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.0
 
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
 
CAP 756 UNIT 1.pptx
CAP 756 UNIT 1.pptxCAP 756 UNIT 1.pptx
CAP 756 UNIT 1.pptx
 
Web Development 3 (HTML & CSS)
Web Development 3  (HTML & CSS)Web Development 3  (HTML & CSS)
Web Development 3 (HTML & CSS)
 
Html basic
Html basicHtml basic
Html basic
 
ARTICULOENINGLES
ARTICULOENINGLESARTICULOENINGLES
ARTICULOENINGLES
 
PSD to HTML
PSD to HTMLPSD to HTML
PSD to HTML
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
HTML Coding
HTML CodingHTML Coding
HTML Coding
 
Designing web page marquee and img tag
Designing web page  marquee and img tagDesigning web page  marquee and img tag
Designing web page marquee and img tag
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
 
WEB DEVELOPMENT
WEB DEVELOPMENTWEB DEVELOPMENT
WEB DEVELOPMENT
 

Mehr von Grayzon Gonzales, LPT

Lesson 2.2 Online Safety And Security.pptx
Lesson 2.2 Online Safety And Security.pptxLesson 2.2 Online Safety And Security.pptx
Lesson 2.2 Online Safety And Security.pptxGrayzon Gonzales, LPT
 
Computer hardware servicing practice occupational health and safety procedure
Computer hardware servicing   practice occupational health and safety procedure Computer hardware servicing   practice occupational health and safety procedure
Computer hardware servicing practice occupational health and safety procedure Grayzon Gonzales, LPT
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsGrayzon Gonzales, LPT
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web pageGrayzon Gonzales, LPT
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLGrayzon Gonzales, LPT
 
Adobe Photoshop and its role in society ( Introduction)
Adobe Photoshop and its role in society ( Introduction) Adobe Photoshop and its role in society ( Introduction)
Adobe Photoshop and its role in society ( Introduction) Grayzon Gonzales, LPT
 

Mehr von Grayzon Gonzales, LPT (13)

Lesson 2.2 Online Safety And Security.pptx
Lesson 2.2 Online Safety And Security.pptxLesson 2.2 Online Safety And Security.pptx
Lesson 2.2 Online Safety And Security.pptx
 
Lesson 2.1 Rules of Netiquette.pptx
Lesson 2.1 Rules of Netiquette.pptxLesson 2.1 Rules of Netiquette.pptx
Lesson 2.1 Rules of Netiquette.pptx
 
Lesson 1 Introudctioin to ICT.pptx
Lesson 1 Introudctioin to ICT.pptxLesson 1 Introudctioin to ICT.pptx
Lesson 1 Introudctioin to ICT.pptx
 
ICT as a Platform for Change
ICT as a Platform for Change ICT as a Platform for Change
ICT as a Platform for Change
 
Computer hardware servicing practice occupational health and safety procedure
Computer hardware servicing   practice occupational health and safety procedure Computer hardware servicing   practice occupational health and safety procedure
Computer hardware servicing practice occupational health and safety procedure
 
Small Basic - Branching and Loop
Small Basic - Branching and LoopSmall Basic - Branching and Loop
Small Basic - Branching and Loop
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
HTML Tags
HTML Tags HTML Tags
HTML Tags
 
HTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTMLHTML Start Up - Introduction to HTML
HTML Start Up - Introduction to HTML
 
Adobe Photoshop - Brush tool
Adobe Photoshop - Brush toolAdobe Photoshop - Brush tool
Adobe Photoshop - Brush tool
 
Adobe Photoshop and its role in society ( Introduction)
Adobe Photoshop and its role in society ( Introduction) Adobe Photoshop and its role in society ( Introduction)
Adobe Photoshop and its role in society ( Introduction)
 

Kürzlich hochgeladen

Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...sonatiwari757
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistKHM Anwar
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 

Kürzlich hochgeladen (20)

Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
Call Girls in Mayur Vihar ✔️ 9711199171 ✔️ Delhi ✔️ Enjoy Call Girls With Our...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization Specialist
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 

HTML5 - Insert images and Apply page backgrounds

  • 1. Information and Communication Technology – 8
  • 2. Understand the importance of images and graphics in a web page ; Utilize images into your page; and Apply background in your HTML documents.
  • 3.  You can create a web page with only text content, but it would not be interesting compared to one that has an images.  Your viewer will be able to effectively relate if there are visual illustrations supplementing your text content.  You can further elaborate and present the purpose of you website into a more dynamic and creative way.
  • 4.  File Size – Too large file size can lead to a slow loading speed of the page. Most visitors don’t want to wait for a slow site and will certainly look for a different choice.  Cropping – Viewing dimensions are important as visitors want to actually see the image, so it cannot be too small or large to fit to the screen.  Irrelevance – Photos are important and great addition to the web page. But it should be related or relevant to the purpose of the website.
  • 5.  Complementary – Can showcase what’s the article/website is about. When used alongside the article, it can give a readers a thorough perspective of the topic.  File Size – If an image is merely for monitor viewing, then the file size should be at least 250 kilobytes. Resolution wise, it should be no more than 640x480 pixels to fit well on most displays.  Format – There are three types of images formats for website use: JPEG, GIF and PNG.  JPEG ( Joint Photographic Experts Group) – which is the most common and popular, has the most compressibility; however too much will reduce the quality.  GIF ( Graphics Interchange Format) – have good compressibility and are ideal for photos with little color.  PNG ( Portable Network Graphics) – can produce high quality display and overlay; however it’s downside is its poor compressibility.
  • 6.
  • 7. Two Types of GIF Images: • Transparency – The image has transparent background and allows the web page background to show through. • Interlacing – The images are gradually displayed on the screen, and appear blurry at first then come into focus when loading is done.
  • 8.  Aesthetics – When choosing an image, consider its artistic value. Balance the brightness and contrast in order to effectively emphasize the subject.  Layout – Carefully plan the position of an image by using a layout as random placement can distract viewers. Limit photos designed to direct readers to one per page; the rest should be positioned near the relevant contents so viewers can easily understand the relationship between the images and content.
  • 9.  There are two classes of images for web page:  Inline Images – these images are loaded automatically when you load the page itself.  External Images – these images are loaded only at the request of the viewer. It will not display when you load a page. Syntax : <img src= “picture.jpg”>  In HTML, images are defined with the <img> tag.  The <img> tag is empty, it contains attributes only, and does not have a closing tag. Tag Attribute Image Filename
  • 10. Attributes Description src (source) This specifies Address of the resource file using URL. alt ( Alternate text) The text to be use in case the browser cant render the image. width Specifies the width of the image. height Specifies the height of the image. The table shows the attributes that are specific to <img> tag/element.
  • 11.  The attribute src (source) will specify the address or location of the image that you want to insert in your HTML.  When the image resides on the same folder as the HMTL document that references it, you can just type the file name only with out any additional information. <img src=“picture.jpg”>  If you want to refer to images that are stored in subfolder inside the folder that contains your HTML documents, you should indicate the subfolder name where the image is located. My HTML Folder images Example: <img src=“images/picture.jpg”
  • 12.  You can add a descriptive text that will appear if the image might not display for whatever reason.  The alt attributes provides something meaningful text to replace or as a substitute for an image and gives an idea of the image that is about to be loaded. Example: <img src=“picture.jpg” alt=“alternate text for image”>
  • 13.  Image size is expressed in pixels.  You can change the width and height of the image by adding a width=“new value” or height=“new value”  But you can also specify both the width and the height. <img src=“picture.jpg” style=“float:left” width=“250”> <img src=“picture.jpg” style=“float:left” width=“250” height=“300”>
  • 14.  Similar to text images can have margins and/or padding to separate them from surrounding elements.  There are two types of attributes that can control the space around the image:  Padding – this attribute controls the space around the content on the inside of the element.  Margin- this attribute controls the space surrounding the element. * You can use either the two attributes for an image. When the image has a border, it is better to use the margin attribute. <img src=“picture.jpg” style=“float:left;margin-right:15px” width=“250”>
  • 15.  To stop the text from wrapping around on an aligned image, use the clear attribute, to break the line so that the next line of text begins after the end if the image.  You should apply this to the text tag and not inside the <img> tag. Example: <p style=“clear:right”> The clear attribute can have one of three values: Left – this is for left-aligned images. It will break to an empty left margin. Right – this is for the right aligned images. It will break to an empty right margin. All – breaks to a line clear to both margins.
  • 16.  You can apply different kinds of basic colors in your page. HTML recognizes 16 of these:
  • 17.  You can specify a background color for your entire page by adding an attribute to its opening <body> tag.  Example : <body style=“background-color:aqua”> or <body bgcolor=“gray”> For foreground color: <body style=“background-color:teal;color:white”> The two attributes are combined in a single style=statement, and are separated using a semicolon as shown in the above example.
  • 18.  Similar to the background color, a background image is displayed behind text.  By default the image is tiled to fill the page and scrolls with the page. Example: <body style=“background-image:url(background.jpg)”> or <body style="background-color:white;background-image:url(background.png)"> By default, the background image is repeated both horizontally and vertically to fill the window. You can force it not to repeat by adding the background-repeat to the body tag. Example: background-repeat:repeat-x (repeat horizontally) background-repeat:repeat-y (repeat vertically) background-repeat:o-repeat Syntax: <body style="background-color:white;color:white;background-image:url(image.url);background- repeat:repeat-x">
  • 19.  Using the different tags we have discussed in creating a webpage, create a simple HTML document that will provide you the same output on the picture given. (Triad)  Use Notepad++ to create your HTML Document, name your file “The HTML History_Grade_Section.html”  Save the HTML document on your section’s folder.  Use the necessary tags we have discussed, like Structural tags as mandatory tags used to make the HTML document, formatting tags for fonts, heading tags, paragraph tags, break line tags and list tags.
  • 20.
  • 21. Category 5 4 3 2 1 Code Structure Code are excellently clear, concise, and well organized with excellent sentence/paragrap h construction. Code are clear, concise, and organized with excellent sentence/paragrap h construction. Code are mostly clear, concise, and organized with good sentence/paragrap h construction. Code is unclear and/or disorganized.The structure is confusing. Code is unclear and disorganized and will certainly won’t work. Requirements and Mastery Met all of the requirements, followed all the necessary formats and exceptionally shows mastery on the use of tags. 1-2 requirements are missing, followed the necessary formats and somehow shows knowledge on the use of tags. 3-5 requirements are missing, followed the formats and shows minimal knowledge on the use of tags. 6-7 requirements are missing, tries to follow the format and shows very minimal knowledge on the use of tags. All requirements was missing and not followed. No understanding on the tags at all. Use of Class Time -Used time well during class period. -Focused on getting the website done. -Never distract others. -Used time well during class period. -Usually focused on getting the website done and never distract others. -Used some of the time well during class period. -There was some focus on getting the website done but occasionally distract others. -Used some of the time well during class period. -There was some focus on getting the website done and most of the time distract others. -Did not use class time to focus on the hands-on OR often distracted others.