SlideShare uma empresa Scribd logo
1 de 36
By Stephanie Huynh
Why have I created this presentation?




• For my web design class assignment based on
  what the class has focused on for the past few
  weeks which are:
           ~HTTP5 (Hyper Text Transfer Protocol)
           ~HTML (Hyper Text Mark up Language)
           ~Cascade Style Sheet (CSS)
What is my chosen
   element?
• To make a
                      difference to your
                      webpage you
                      design.
                    • Changes the
                      audience’s view of
 Why would you        web pages.
 need to use this   • Is creative
type of element?
Which internet browsers support the
       type of code we use?

                            •   Google Chrome
                            •   Internet Explorer
                            •   Firefox
                            •   Opera
                            •   Safari
       HINT - Google Chrome is the
       recommended internet browser to use to
       show CSS at its best potential
How to begin using HTTP/HTML
• You will first have to use a program to build
  your webpage.
• For starters you can use the program notepad.
• I prefer using a program called Notepad++
  which is a free program downloadable from
  the internet.
How to begin using CSS
             • This is a screenshot
               of my webpage html
               using notepad++.
             • To start using my CSS,
               I created a external
               CSS page and had to
               link it with my HTML
               page as seen on the
               screenshot.
• To begin demonstrating my element I will first
  have to import a image onto my webpage.




             I have chosen this image to
               focus on in my example.
• Here is a screenshot on how I have
                     imported a image into my html code.
                     I have used <img src=“image
                     name”.image type”/>

                       HINT: Ensure your image is saved in the same
                       folder/area as where your html and CSS code is saved.
In this example my image
name is “Picture1” and the
file type was “jpeg”
• This is what my webpage looks like so far.
• The amazing idea about CSS is that you can
  customise what a image can appear as or
  positioned on your webpage.
Border

   • My first creative CSS
     feature I would like to
     demonstrate is to
     create a border
     surrounding your
     selected image.
• The code displayed above in my CSS file, creates a
  black border 5 pixels thick.
  The code is;
  img {border : pixel size solid;}
Borders
• You can create different coloured borders for
  your image with the code used in the previous
  slide but with a little extra code to add.
   The code is;
  img {border : pixel size solid colour;}
  EG - img {border : 5px solid blue;}
• Next CSS feature I will demonstrate is to edit
  the size of the image displayed on my
  webpage.
  The code is;

  Width: Size in pixels
  Height: Size in pixels
• This is how my webpage is displayed so far
  with the following features on CSS;
  ~A border
  ~The change of size of the image
Positioning CSS
• The next CSS feature I will introduce and
  demonstrate is to have the ability to position
  your image in a certain way on your webpage.
  There are certain element positioning
  techniques available with the following codes;

  ~Static
  ~Absolute
  ~Fixed
  ~Relative
Static positioning
• This is the default setting for every page
  element. Each element that can be used all
  have the same default setting as ‘Static’
  positioning.
• The only reason why you would set an
  element to position: static is to forcefully
  remove some positioning that got applied to
  an element outside of your control.
Static positioning screenshot



                Also known as the default
                setting for all elements.
Relative positioning
• If you set a element to relative position
  without other positioning attributes (top,
  bottom, left or right) there will be no
  difference than the static positioning.
• If a positioning attribute e.g top100px is used
  than it will shift your element 100pixels down
  from where it is normally placed rather than
  100 pixels above the normal position the
  element is placed.
Relative positioning screenshot
Fixed positioning
• This type of positioning is used rarely but is
  also useful.
• It is relative positioned in a browser.
• The special feature of this positioning, is that
  it will not move even if the window is scrolled.
With the two screenshots
demonstrates the positioning set
to fixed. As I scrolled to the
bottom of my webpage the
image stayed in the same exact
position.
Absolute positioning
• This is the best positioning option because
  this technique allows users to place an
  element exactly where you want it to be
  placed.
• Using the positioning attributes top, bottom,
  left and right to set the position.
• Setting the position attribute using pixels on
  the webpage. (E.g Top:100px;)
• As I said before, setting your
  element to absolute, is the most
  ideal positioning as you can
  position your element exactly
  where you prefer.
  As seen on my screenshot I was
  able to position my element in
  the center of my webpage.
REMINDER - Web Browser differences
• As discussed before on a previous slide,
  different web browsers may affect some
  features offered for your element and CSS
  designs, such as my CSS demonstrations.
• I recommend using Google Chrome to ensure
  you are able to sight all features at it’s best
  quality.
Floating
• Elements are floated horizontally meaning
  left and right. (NOT up and down)
• A floated element will move as far either
  left or right depending where you set it.
• Other elements used will flow around the
  floating element.
Floating
                                          • Here are two
                                            screenshots of a
                                            image floating to
ABOVE – Image is floating to the right.     the right and
                                            another floating
                                            to the left.


ABOVE – Image is floating to the left.
• Below is a screenshot of several
  extra images uploaded onto my
  webpage and are all set on floating
  to the right.
• Than we can use a HTML div tag.
HTML Div tag
• Div tags can be viewed as containers as they
  group certain elements of a web page
  together.

• E.G – If I wanted to upload multiple images,
  and each image has different border settings,
  image size etc.
The image below is a screenshot of me using a div class for two images
and also the floating element. One image is floating on the left and the
other image floating on the right.




  The next slide will
  have valid code to
  make your web page
  like the above image.
• Here is the
  code I used
  to have my
  webpage
  displayed like
  the previous
  slide screen
  shot.
Testing
• I have tested my HTML/CSS element on two
  popular web browsers.

• Google Chrome – worked successfully
• Internet Explorer – worked successfully
What we have demonstrated in this
            presentation
• We have learnt how to begin our HTML5 Page and
  connecting a CSS page.
• We have shown you different web browsers you can choose
  to use.
• How to import a image into your web page.
• How to put a border around your image and select the
  colour of the border.
• How to change the size of your image using pixels.
• The different types of positioning for elements.
• How to make your element float to the left or right.
• What the div tag can do
• A result of my testing on two different web browsers.
By Stephanie Huynh

Mais conteúdo relacionado

Mais procurados

How to using word press for web devlop part1 wp title
How to using word press for web devlop  part1 wp titleHow to using word press for web devlop  part1 wp title
How to using word press for web devlop part1 wp titleponnuduraik
 
Drupal 7: Theming with Omega
Drupal 7: Theming with OmegaDrupal 7: Theming with Omega
Drupal 7: Theming with OmegaEric Sembrat
 
Optimizing images in WordPress to improve site performance and sSEO
Optimizing images in WordPress to improve site performance and sSEOOptimizing images in WordPress to improve site performance and sSEO
Optimizing images in WordPress to improve site performance and sSEOSteve Mortiboy
 
Getting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersGetting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersNew Tricks
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignSteve Guinan
 
Introduction to web sites design
Introduction to  web sites designIntroduction to  web sites design
Introduction to web sites designMarwa Abdelgawad
 
Getting to know WordPress
Getting to know WordPressGetting to know WordPress
Getting to know WordPressAnthony Hortin
 
Accessibility Hacks version 2
Accessibility Hacks version 2Accessibility Hacks version 2
Accessibility Hacks version 2Graham Armfield
 
Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Graham Armfield
 
Design selection demo.2
Design selection demo.2Design selection demo.2
Design selection demo.2allisonbliss
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101mikeyarce
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Mediacurrent
 
Build your WordPress page fast and clean
Build your WordPress page fast and cleanBuild your WordPress page fast and clean
Build your WordPress page fast and cleanEugene Cibankov
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksNathan Smith
 
WordPress and Child Themes
WordPress and Child ThemesWordPress and Child Themes
WordPress and Child Themesnairobiwordcamp
 
Designing in the Browser - Mason Wendell, Drupaldelphia
Designing in the Browser - Mason Wendell, DrupaldelphiaDesigning in the Browser - Mason Wendell, Drupaldelphia
Designing in the Browser - Mason Wendell, Drupaldelphiacanarymason
 
Responsive Web Design - NYC Webgrrls
Responsive Web Design - NYC WebgrrlsResponsive Web Design - NYC Webgrrls
Responsive Web Design - NYC WebgrrlsAmelie Walker-Yung
 
Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Daniel Friedman
 
The Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme DevelopmentThe Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme DevelopmentSarah Moyer
 

Mais procurados (20)

How to using word press for web devlop part1 wp title
How to using word press for web devlop  part1 wp titleHow to using word press for web devlop  part1 wp title
How to using word press for web devlop part1 wp title
 
Drupal 7: Theming with Omega
Drupal 7: Theming with OmegaDrupal 7: Theming with Omega
Drupal 7: Theming with Omega
 
Optimizing images in WordPress to improve site performance and sSEO
Optimizing images in WordPress to improve site performance and sSEOOptimizing images in WordPress to improve site performance and sSEO
Optimizing images in WordPress to improve site performance and sSEO
 
Getting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersGetting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for Beginners
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web Design
 
Introduction to web sites design
Introduction to  web sites designIntroduction to  web sites design
Introduction to web sites design
 
Getting to know WordPress
Getting to know WordPressGetting to know WordPress
Getting to know WordPress
 
Accessibility Hacks version 2
Accessibility Hacks version 2Accessibility Hacks version 2
Accessibility Hacks version 2
 
Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018
 
Design selection demo.2
Design selection demo.2Design selection demo.2
Design selection demo.2
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
E commerce-website
E commerce-websiteE commerce-website
E commerce-website
 
Build your WordPress page fast and clean
Build your WordPress page fast and cleanBuild your WordPress page fast and clean
Build your WordPress page fast and clean
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 
WordPress and Child Themes
WordPress and Child ThemesWordPress and Child Themes
WordPress and Child Themes
 
Designing in the Browser - Mason Wendell, Drupaldelphia
Designing in the Browser - Mason Wendell, DrupaldelphiaDesigning in the Browser - Mason Wendell, Drupaldelphia
Designing in the Browser - Mason Wendell, Drupaldelphia
 
Responsive Web Design - NYC Webgrrls
Responsive Web Design - NYC WebgrrlsResponsive Web Design - NYC Webgrrls
Responsive Web Design - NYC Webgrrls
 
Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)Getting started with dev tools (4/10/17 DC)
Getting started with dev tools (4/10/17 DC)
 
The Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme DevelopmentThe Genesis Framework: Hooks & Filters for Theme Development
The Genesis Framework: Hooks & Filters for Theme Development
 

Destaque

Treinamento html5, css e java script apresentado na HP
Treinamento html5, css e java script apresentado na HPTreinamento html5, css e java script apresentado na HP
Treinamento html5, css e java script apresentado na HPRodrigo Urubatan
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overviewIvan Frantar
 
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache CordovaHazem Saleh
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapChristian Grobmeier
 
Cordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstCordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstRaymond Camden
 
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Ryan Cuprak
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkCihad Horuzoğlu
 
Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)ejlp12
 
Ionic framework one day training
Ionic framework one day trainingIonic framework one day training
Ionic framework one day trainingTroy Miles
 
Cross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic FrameworkCross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic FrameworkTroy Miles
 
Building Mobile Applications with Ionic
Building Mobile Applications with IonicBuilding Mobile Applications with Ionic
Building Mobile Applications with IonicMorris Singer
 

Destaque (15)

Treinamento html5, css e java script apresentado na HP
Treinamento html5, css e java script apresentado na HPTreinamento html5, css e java script apresentado na HP
Treinamento html5, css e java script apresentado na HP
 
HTML5 & CSS 3
HTML5 & CSS 3HTML5 & CSS 3
HTML5 & CSS 3
 
Html5 & CSS overview
Html5 & CSS overviewHtml5 & CSS overview
Html5 & CSS overview
 
Aside, within HTML5 + CSS
Aside, within HTML5 + CSSAside, within HTML5 + CSS
Aside, within HTML5 + CSS
 
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova
[JavaLand 2015] Developing JavaScript Mobile Apps Using Apache Cordova
 
Html5 & less css
Html5 & less cssHtml5 & less css
Html5 & less css
 
Angular js
Angular jsAngular js
Angular js
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and Phonegap
 
Cordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirstCordova + Ionic + MobileFirst
Cordova + Ionic + MobileFirst
 
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
 
Hybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic FrameworkHybrid Apps with Angular & Ionic Framework
Hybrid Apps with Angular & Ionic Framework
 
Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)
 
Ionic framework one day training
Ionic framework one day trainingIonic framework one day training
Ionic framework one day training
 
Cross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic FrameworkCross Platform Mobile Apps with the Ionic Framework
Cross Platform Mobile Apps with the Ionic Framework
 
Building Mobile Applications with Ionic
Building Mobile Applications with IonicBuilding Mobile Applications with Ionic
Building Mobile Applications with Ionic
 

Semelhante a Steph's Html5 and css presentation

Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptxDiyonaVas
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Thinkful
 
Html 5 and CSS - Image Element
Html 5 and CSS - Image ElementHtml 5 and CSS - Image Element
Html 5 and CSS - Image ElementKempy7000
 
WordPress Plugins to add style to your website
WordPress Plugins to add style to your websiteWordPress Plugins to add style to your website
WordPress Plugins to add style to your websiteBelinda Johnstone
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18TJ Stalcup
 
Elements of html powerpoint
Elements of html powerpointElements of html powerpoint
Elements of html powerpointAnastasia1993
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...Yandex
 
Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.GaziAhsan
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereStephen Bell
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlantaThinkful
 
wordpress-based-non-profit-website-redesign-project-by-digital-systems
wordpress-based-non-profit-website-redesign-project-by-digital-systemswordpress-based-non-profit-website-redesign-project-by-digital-systems
wordpress-based-non-profit-website-redesign-project-by-digital-systemsDigital Systems
 
Responsive web design
Responsive web designResponsive web design
Responsive web designRicha Goel
 
SIM Digital Marketing COURSES PPT.pptx
SIM Digital Marketing COURSES PPT.pptxSIM Digital Marketing COURSES PPT.pptx
SIM Digital Marketing COURSES PPT.pptxShaileshBone
 
ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversGilbert Guerrero
 
ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversGilbert Guerrero
 
Core Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressCore Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressClementYo
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsCgColors
 

Semelhante a Steph's Html5 and css presentation (20)

Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptx
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)
 
Html 5 and CSS - Image Element
Html 5 and CSS - Image ElementHtml 5 and CSS - Image Element
Html 5 and CSS - Image Element
 
WordPress Plugins to add style to your website
WordPress Plugins to add style to your websiteWordPress Plugins to add style to your website
WordPress Plugins to add style to your website
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18
 
Elements of html powerpoint
Elements of html powerpointElements of html powerpoint
Elements of html powerpoint
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
 
Content Optimization
Content OptimizationContent Optimization
Content Optimization
 
Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.
 
Rwd slidedeck
Rwd slidedeckRwd slidedeck
Rwd slidedeck
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlanta
 
wordpress-based-non-profit-website-redesign-project-by-digital-systems
wordpress-based-non-profit-website-redesign-project-by-digital-systemswordpress-based-non-profit-website-redesign-project-by-digital-systems
wordpress-based-non-profit-website-redesign-project-by-digital-systems
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
SIM Digital Marketing COURSES PPT.pptx
SIM Digital Marketing COURSES PPT.pptxSIM Digital Marketing COURSES PPT.pptx
SIM Digital Marketing COURSES PPT.pptx
 
ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: Rollovers
 
ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: Rollovers
 
Core Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressCore Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPress
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
 

Último

Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Último (20)

Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 

Steph's Html5 and css presentation

  • 2. Why have I created this presentation? • For my web design class assignment based on what the class has focused on for the past few weeks which are: ~HTTP5 (Hyper Text Transfer Protocol) ~HTML (Hyper Text Mark up Language) ~Cascade Style Sheet (CSS)
  • 3. What is my chosen element?
  • 4. • To make a difference to your webpage you design. • Changes the audience’s view of Why would you web pages. need to use this • Is creative type of element?
  • 5. Which internet browsers support the type of code we use? • Google Chrome • Internet Explorer • Firefox • Opera • Safari HINT - Google Chrome is the recommended internet browser to use to show CSS at its best potential
  • 6. How to begin using HTTP/HTML • You will first have to use a program to build your webpage. • For starters you can use the program notepad. • I prefer using a program called Notepad++ which is a free program downloadable from the internet.
  • 7. How to begin using CSS • This is a screenshot of my webpage html using notepad++. • To start using my CSS, I created a external CSS page and had to link it with my HTML page as seen on the screenshot.
  • 8. • To begin demonstrating my element I will first have to import a image onto my webpage. I have chosen this image to focus on in my example.
  • 9. • Here is a screenshot on how I have imported a image into my html code. I have used <img src=“image name”.image type”/> HINT: Ensure your image is saved in the same folder/area as where your html and CSS code is saved. In this example my image name is “Picture1” and the file type was “jpeg”
  • 10. • This is what my webpage looks like so far.
  • 11. • The amazing idea about CSS is that you can customise what a image can appear as or positioned on your webpage.
  • 12. Border • My first creative CSS feature I would like to demonstrate is to create a border surrounding your selected image.
  • 13. • The code displayed above in my CSS file, creates a black border 5 pixels thick. The code is; img {border : pixel size solid;}
  • 14. Borders • You can create different coloured borders for your image with the code used in the previous slide but with a little extra code to add. The code is; img {border : pixel size solid colour;} EG - img {border : 5px solid blue;}
  • 15. • Next CSS feature I will demonstrate is to edit the size of the image displayed on my webpage. The code is; Width: Size in pixels Height: Size in pixels
  • 16. • This is how my webpage is displayed so far with the following features on CSS; ~A border ~The change of size of the image
  • 17. Positioning CSS • The next CSS feature I will introduce and demonstrate is to have the ability to position your image in a certain way on your webpage. There are certain element positioning techniques available with the following codes; ~Static ~Absolute ~Fixed ~Relative
  • 18. Static positioning • This is the default setting for every page element. Each element that can be used all have the same default setting as ‘Static’ positioning. • The only reason why you would set an element to position: static is to forcefully remove some positioning that got applied to an element outside of your control.
  • 19. Static positioning screenshot Also known as the default setting for all elements.
  • 20. Relative positioning • If you set a element to relative position without other positioning attributes (top, bottom, left or right) there will be no difference than the static positioning. • If a positioning attribute e.g top100px is used than it will shift your element 100pixels down from where it is normally placed rather than 100 pixels above the normal position the element is placed.
  • 22. Fixed positioning • This type of positioning is used rarely but is also useful. • It is relative positioned in a browser. • The special feature of this positioning, is that it will not move even if the window is scrolled.
  • 23. With the two screenshots demonstrates the positioning set to fixed. As I scrolled to the bottom of my webpage the image stayed in the same exact position.
  • 24. Absolute positioning • This is the best positioning option because this technique allows users to place an element exactly where you want it to be placed. • Using the positioning attributes top, bottom, left and right to set the position. • Setting the position attribute using pixels on the webpage. (E.g Top:100px;)
  • 25. • As I said before, setting your element to absolute, is the most ideal positioning as you can position your element exactly where you prefer. As seen on my screenshot I was able to position my element in the center of my webpage.
  • 26. REMINDER - Web Browser differences • As discussed before on a previous slide, different web browsers may affect some features offered for your element and CSS designs, such as my CSS demonstrations. • I recommend using Google Chrome to ensure you are able to sight all features at it’s best quality.
  • 27. Floating • Elements are floated horizontally meaning left and right. (NOT up and down) • A floated element will move as far either left or right depending where you set it. • Other elements used will flow around the floating element.
  • 28. Floating • Here are two screenshots of a image floating to ABOVE – Image is floating to the right. the right and another floating to the left. ABOVE – Image is floating to the left.
  • 29. • Below is a screenshot of several extra images uploaded onto my webpage and are all set on floating to the right.
  • 30. • Than we can use a HTML div tag.
  • 31. HTML Div tag • Div tags can be viewed as containers as they group certain elements of a web page together. • E.G – If I wanted to upload multiple images, and each image has different border settings, image size etc.
  • 32. The image below is a screenshot of me using a div class for two images and also the floating element. One image is floating on the left and the other image floating on the right. The next slide will have valid code to make your web page like the above image.
  • 33. • Here is the code I used to have my webpage displayed like the previous slide screen shot.
  • 34. Testing • I have tested my HTML/CSS element on two popular web browsers. • Google Chrome – worked successfully • Internet Explorer – worked successfully
  • 35. What we have demonstrated in this presentation • We have learnt how to begin our HTML5 Page and connecting a CSS page. • We have shown you different web browsers you can choose to use. • How to import a image into your web page. • How to put a border around your image and select the colour of the border. • How to change the size of your image using pixels. • The different types of positioning for elements. • How to make your element float to the left or right. • What the div tag can do • A result of my testing on two different web browsers.