SlideShare a Scribd company logo
1 of 25
CIT012753
12/10/2012




             Static Websites – INFT 269
                    Assignment 1




 Formatting in HTML5 using CCS
With the advent of HTML5 and the World Wide Web being
utilised by more and more people, web page design has
never been more important.


The most popular and simple way of that many designers use
is Cascading Style Sheets or CCS.




          Cascading Style Sheets
Websites like
http://www.csszengarden.com/,
dedicated solely to CCS
based design are a testament
to this fact.




           CCS design at its best
In this presentation, I'm going
        to talk about how you can use
        CCS to liven up the
        commonly overlooked
        paragraph tag.
        Even something as small as
        this can make or break the
        whole page.
        Over to the left, you can see
        some basic code in HTML5.




HTML5 in the Raw
And this is what it looks like in
         Google Chrome.
         Not very exciting.
         Without any CCS, this has
         turned out to be a pretty
         boring page.
         So, let's spruce it up a bit.




Pretty Basic Stuff
First, we will will add the line
              below to Header of our code.
              This will allow the page to call
              the formatting from our CCS
              code.

              <link rel="stylesheet"
              type="text/css"
              href="JoanOfArc.css"
              media="all" />




Linking to a CCS Style Sheet
Now we can start playing
     around with the formatting in
     our newly linked CCS
     document.
     First off, I've centred the
     heading and floated the
     image to the right.
     I have also given the page a
     light blue background.




CCS Basics
See. Looking better already.
      Next, we will look at sprucing
      up the text in the main body
      of the page.
      So I can really show the
      formatting off, I've added two
      additional paragraphs. This is
      so I can style each of them
      differently.
      I'm using classes to
      differentiate the paragraphs.




CCS in Action
We will start with colour. This
           can be applied in a number of
           ways.
           Using basic colour names...

           p.first
           {
               color:DarkRed
           }




Making Beautiful Words
Or an RGB value...




           p.second
           {
               color:rgb(47,79,79)
           }




Making Beautiful Words
And for the extra keen, even
           as a hex value.




           p.third
           {
               color:#8B4513
           }




Making Beautiful Words
We can also add some
           decoration to make give the
           text an overline, underline or
           a strike-through.


           text-decoration:overline
           text-decoration:underline
           text-decoration:line-through




Adding Some Decoration
I'll remove this, however. Text
           decoration usually renders
           the text difficult to read and
           tends to breach accessibility
           standards.




Adding Some Decoration
Text can also be transformed.
           This can be as simple as
           transforming all the
           characters to uppercase...


           p.first
           {
               text-transform:uppercase
           }




More Than Meets The Eye
Or maybe lowercase...




           p.second
           {
               text-transform:lowercase
           }




More Than Meets The Eye
Even just capitialising the first
           letter of each word.




           p.third
           {
               text-transform:capitalize
           }




More Than Meets The Eye
But what would text editing be
      without fonts.
      Lets have a look at some
      now.

      font-family:"Times New
      Roman"
      font-family:Arial
      font-family:"Lucida Console"




Fonts Galore
But not just style. Font size as
      well.This can be done with
      absolute or relative sizing.
      However, absolute is bad for
      accessibility

      font-size:16px
      font-size:125%
      font-size:0.875em




Fonts Galore
And that's just a few ways
     that you can transform a
     bunch of plain text into
     something that your web
     page deserves.
     Just with this...




20% Cooler
You can turn this...




Before
Into this...




After
Even after having heaps of
          fun playing around with CSS,
          it is important to ensure that
          your code (both HTML and
          CSS) validates. Mine did.
          Testing in other web browsers
          is also important.
          This is the page in Google
          Chrome...




Just One Other Thing
In Internet Explorer...




Just One Other Thing
And even in Mozilla Firefox.




Just One Other Thing
Keep it up, practice hard
and one day your work
may be up there with
the masters on
ZenGarden.




       What are you waiting for?

More Related Content

What's hot

Design and CSS
Design and CSSDesign and CSS
Design and CSSnolly00
 
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp SydneyGetting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp SydneyWordCamp Sydney
 
Testing and evaluation
Testing and evaluationTesting and evaluation
Testing and evaluationL15338
 
Basic HTML & CSS
Basic HTML & CSSBasic HTML & CSS
Basic HTML & CSSJohn Nelson
 
Css & css3
Css & css3Css & css3
Css & css3isha
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Websurferroop
 
Code For Every Librarian
Code For Every LibrarianCode For Every Librarian
Code For Every Librariancmawolfe
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersTOPS Technologies
 
Shaping Up With CSS
Shaping Up With CSSShaping Up With CSS
Shaping Up With CSSsdireland
 

What's hot (18)

Design and CSS
Design and CSSDesign and CSS
Design and CSS
 
How To Write Beautiful Code
How To Write Beautiful CodeHow To Write Beautiful Code
How To Write Beautiful Code
 
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp SydneyGetting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
 
Why less?
Why less?Why less?
Why less?
 
Testing and evaluation
Testing and evaluationTesting and evaluation
Testing and evaluation
 
Assignment 11 guide
Assignment 11 guideAssignment 11 guide
Assignment 11 guide
 
NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)NEPA BlogCon 2013 - Blogging 101 (Culp)
NEPA BlogCon 2013 - Blogging 101 (Culp)
 
Assignment 1 guide
Assignment 1 guideAssignment 1 guide
Assignment 1 guide
 
HTML Bootcamp
HTML BootcampHTML Bootcamp
HTML Bootcamp
 
Bs Typography
Bs TypographyBs Typography
Bs Typography
 
Less vs sass
Less vs sassLess vs sass
Less vs sass
 
Basic HTML & CSS
Basic HTML & CSSBasic HTML & CSS
Basic HTML & CSS
 
Css & css3
Css & css3Css & css3
Css & css3
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Web
 
Code For Every Librarian
Code For Every LibrarianCode For Every Librarian
Code For Every Librarian
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshers
 
Sacramento web design
Sacramento web designSacramento web design
Sacramento web design
 
Shaping Up With CSS
Shaping Up With CSSShaping Up With CSS
Shaping Up With CSS
 

Viewers also liked

книга
книгакнига
книгаvitulka
 
фахові видання
фахові виданняфахові видання
фахові виданняvitulka
 
книга
книгакнига
книгаvitulka
 
Ghj,ktvb
Ghj,ktvbGhj,ktvb
Ghj,ktvbvitulka
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяяvitulka
 
Ghj,ktvb
Ghj,ktvbGhj,ktvb
Ghj,ktvbvitulka
 
Unit 8 Assignment 2a and 2b
Unit 8 Assignment 2a and 2bUnit 8 Assignment 2a and 2b
Unit 8 Assignment 2a and 2bHajar95
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяяvitulka
 
Фахові видання
Фахові виданняФахові видання
Фахові виданняvitulka
 
фахові видання
фахові виданняфахові видання
фахові виданняvitulka
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяяvitulka
 
Etika sebuah pengantar (5)
Etika sebuah pengantar (5)Etika sebuah pengantar (5)
Etika sebuah pengantar (5)Allo Martins
 
фахові видання
фахові виданняфахові видання
фахові виданняvitulka
 
книга
книгакнига
книгаvitulka
 
Macam macam patologi manusia (9)
Macam macam patologi manusia (9)Macam macam patologi manusia (9)
Macam macam patologi manusia (9)Allo Martins
 
Etika administrasi dan birokrasi (10)
Etika administrasi dan birokrasi (10)Etika administrasi dan birokrasi (10)
Etika administrasi dan birokrasi (10)Allo Martins
 
Stuart McGill
Stuart McGillStuart McGill
Stuart McGillchiro28
 
Hukum publik dan hukum privat
Hukum publik dan hukum privatHukum publik dan hukum privat
Hukum publik dan hukum privatAllo Martins
 

Viewers also liked (19)

книга
книгакнига
книга
 
фахові видання
фахові виданняфахові видання
фахові видання
 
Angel oratoria
Angel oratoriaAngel oratoria
Angel oratoria
 
книга
книгакнига
книга
 
Ghj,ktvb
Ghj,ktvbGhj,ktvb
Ghj,ktvb
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяя
 
Ghj,ktvb
Ghj,ktvbGhj,ktvb
Ghj,ktvb
 
Unit 8 Assignment 2a and 2b
Unit 8 Assignment 2a and 2bUnit 8 Assignment 2a and 2b
Unit 8 Assignment 2a and 2b
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяя
 
Фахові видання
Фахові виданняФахові видання
Фахові видання
 
фахові видання
фахові виданняфахові видання
фахові видання
 
презентация1 казкотерапіяя
презентация1 казкотерапіяяпрезентация1 казкотерапіяя
презентация1 казкотерапіяя
 
Etika sebuah pengantar (5)
Etika sebuah pengantar (5)Etika sebuah pengantar (5)
Etika sebuah pengantar (5)
 
фахові видання
фахові виданняфахові видання
фахові видання
 
книга
книгакнига
книга
 
Macam macam patologi manusia (9)
Macam macam patologi manusia (9)Macam macam patologi manusia (9)
Macam macam patologi manusia (9)
 
Etika administrasi dan birokrasi (10)
Etika administrasi dan birokrasi (10)Etika administrasi dan birokrasi (10)
Etika administrasi dan birokrasi (10)
 
Stuart McGill
Stuart McGillStuart McGill
Stuart McGill
 
Hukum publik dan hukum privat
Hukum publik dan hukum privatHukum publik dan hukum privat
Hukum publik dan hukum privat
 

Similar to Static websites assignment 1 - CIT012753

Spectrum 2015 going online with style - an intro to css
Spectrum 2015   going online with style - an intro to cssSpectrum 2015   going online with style - an intro to css
Spectrum 2015 going online with style - an intro to cssNeil Perlin
 
Controlling Web Typography
Controlling Web TypographyControlling Web Typography
Controlling Web TypographyTrent Walton
 
Basics about front-end
Basics about front-endBasics about front-end
Basics about front-endCETPA Infotech
 
Css masterclass book
Css masterclass bookCss masterclass book
Css masterclass bookPhoenix
 
Client side performance compromises worth making
Client side performance compromises worth makingClient side performance compromises worth making
Client side performance compromises worth makingCathy Lill
 
Class 2 handout css exercises (2)
Class 2 handout css exercises (2)Class 2 handout css exercises (2)
Class 2 handout css exercises (2)Erin M. Kidwell
 
Introduction to CSS Preprocessors
Introduction to CSS PreprocessorsIntroduction to CSS Preprocessors
Introduction to CSS PreprocessorsBlake Newman
 
CSS3 Text Effect and Typography Tutorials
CSS3 Text Effect and Typography TutorialsCSS3 Text Effect and Typography Tutorials
CSS3 Text Effect and Typography TutorialsDainis Graveris
 
Intro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 SlidesIntro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 SlidesHeather Rock
 
La build your own website september 5
La build your own website september 5La build your own website september 5
La build your own website september 5Thinkful
 

Similar to Static websites assignment 1 - CIT012753 (20)

Spectrum 2015 going online with style - an intro to css
Spectrum 2015   going online with style - an intro to cssSpectrum 2015   going online with style - an intro to css
Spectrum 2015 going online with style - an intro to css
 
Class
ClassClass
Class
 
Class
ClassClass
Class
 
Controlling Web Typography
Controlling Web TypographyControlling Web Typography
Controlling Web Typography
 
Basics about front-end
Basics about front-endBasics about front-end
Basics about front-end
 
Tutorial5
Tutorial5Tutorial5
Tutorial5
 
Tutorial5
Tutorial5Tutorial5
Tutorial5
 
David Weliver
David WeliverDavid Weliver
David Weliver
 
Css masterclass book
Css masterclass bookCss masterclass book
Css masterclass book
 
Client side performance compromises worth making
Client side performance compromises worth makingClient side performance compromises worth making
Client side performance compromises worth making
 
Class 2 handout css exercises (2)
Class 2 handout css exercises (2)Class 2 handout css exercises (2)
Class 2 handout css exercises (2)
 
Intro to CSS Presentation
Intro to CSS PresentationIntro to CSS Presentation
Intro to CSS Presentation
 
Introduction to CSS Preprocessors
Introduction to CSS PreprocessorsIntroduction to CSS Preprocessors
Introduction to CSS Preprocessors
 
CSS3 Text Effect and Typography Tutorials
CSS3 Text Effect and Typography TutorialsCSS3 Text Effect and Typography Tutorials
CSS3 Text Effect and Typography Tutorials
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Intro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 SlidesIntro to HTML and CSS - Class 2 Slides
Intro to HTML and CSS - Class 2 Slides
 
La build your own website september 5
La build your own website september 5La build your own website september 5
La build your own website september 5
 
Tfbyoweb.4.9.17
Tfbyoweb.4.9.17Tfbyoweb.4.9.17
Tfbyoweb.4.9.17
 
Tfbyoweb.4.9.17
Tfbyoweb.4.9.17Tfbyoweb.4.9.17
Tfbyoweb.4.9.17
 
Roadmap 01
Roadmap 01Roadmap 01
Roadmap 01
 

Recently uploaded

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Static websites assignment 1 - CIT012753

  • 1. CIT012753 12/10/2012 Static Websites – INFT 269 Assignment 1 Formatting in HTML5 using CCS
  • 2. With the advent of HTML5 and the World Wide Web being utilised by more and more people, web page design has never been more important. The most popular and simple way of that many designers use is Cascading Style Sheets or CCS. Cascading Style Sheets
  • 3. Websites like http://www.csszengarden.com/, dedicated solely to CCS based design are a testament to this fact. CCS design at its best
  • 4. In this presentation, I'm going to talk about how you can use CCS to liven up the commonly overlooked paragraph tag. Even something as small as this can make or break the whole page. Over to the left, you can see some basic code in HTML5. HTML5 in the Raw
  • 5. And this is what it looks like in Google Chrome. Not very exciting. Without any CCS, this has turned out to be a pretty boring page. So, let's spruce it up a bit. Pretty Basic Stuff
  • 6. First, we will will add the line below to Header of our code. This will allow the page to call the formatting from our CCS code. <link rel="stylesheet" type="text/css" href="JoanOfArc.css" media="all" /> Linking to a CCS Style Sheet
  • 7. Now we can start playing around with the formatting in our newly linked CCS document. First off, I've centred the heading and floated the image to the right. I have also given the page a light blue background. CCS Basics
  • 8. See. Looking better already. Next, we will look at sprucing up the text in the main body of the page. So I can really show the formatting off, I've added two additional paragraphs. This is so I can style each of them differently. I'm using classes to differentiate the paragraphs. CCS in Action
  • 9. We will start with colour. This can be applied in a number of ways. Using basic colour names... p.first { color:DarkRed } Making Beautiful Words
  • 10. Or an RGB value... p.second { color:rgb(47,79,79) } Making Beautiful Words
  • 11. And for the extra keen, even as a hex value. p.third { color:#8B4513 } Making Beautiful Words
  • 12. We can also add some decoration to make give the text an overline, underline or a strike-through. text-decoration:overline text-decoration:underline text-decoration:line-through Adding Some Decoration
  • 13. I'll remove this, however. Text decoration usually renders the text difficult to read and tends to breach accessibility standards. Adding Some Decoration
  • 14. Text can also be transformed. This can be as simple as transforming all the characters to uppercase... p.first { text-transform:uppercase } More Than Meets The Eye
  • 15. Or maybe lowercase... p.second { text-transform:lowercase } More Than Meets The Eye
  • 16. Even just capitialising the first letter of each word. p.third { text-transform:capitalize } More Than Meets The Eye
  • 17. But what would text editing be without fonts. Lets have a look at some now. font-family:"Times New Roman" font-family:Arial font-family:"Lucida Console" Fonts Galore
  • 18. But not just style. Font size as well.This can be done with absolute or relative sizing. However, absolute is bad for accessibility font-size:16px font-size:125% font-size:0.875em Fonts Galore
  • 19. And that's just a few ways that you can transform a bunch of plain text into something that your web page deserves. Just with this... 20% Cooler
  • 20. You can turn this... Before
  • 22. Even after having heaps of fun playing around with CSS, it is important to ensure that your code (both HTML and CSS) validates. Mine did. Testing in other web browsers is also important. This is the page in Google Chrome... Just One Other Thing
  • 23. In Internet Explorer... Just One Other Thing
  • 24. And even in Mozilla Firefox. Just One Other Thing
  • 25. Keep it up, practice hard and one day your work may be up there with the masters on ZenGarden. What are you waiting for?