Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Front-End Development 101: Html & CSS

najam
October 11, 2013

Front-End Development 101: Html & CSS

introductory session for html & css given to moftak solutions team.

najam

October 11, 2013
Tweet

More Decks by najam

Other Decks in Education

Transcript

  1. Agenda  History  For Whom  Students  Back-end

    Devs  Front-end Devs without basics  Why  Html will stay and expand  Easy to start  HTML /CSS  Future  Desktop Development  Mobile Development
  2. Doc Types  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

    "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-strict.dtd">  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/ DTD/xhtml1-transitional.dtd">  http://www.w3.org/QA/2002/04/valid-dtd-list.html demo
  3. Minimum Tools for Development  Text Editor  Browser 

    Cross Browser Testing  IE Tester [IE6+]  Chrome  Firefox  Opera  Safari
  4. Assignment  Create your cv in Html  One column

    layout  Doc type strict  IE 6 to all modern browsers  Choose tags carefully
  5. Adding Style  In-line  External  <link rel="stylesheet" type="text/css"

    href="/css/styles.css" />  @import url('/css/styles.css');  In-Page  Browser styles  User styles
  6. Selectors  Group  Class  Id  Pseudo-Classes 

    A:visited, A:hover  Pseudo-Elements  Content on fly  Clearing float  p:first-line  CSS3 Selectors
  7. Combinations Li a img{ margin: 0 10px 0 10px; }

    Li > a{ margin: 0 10px 0 10px; } ul + p{ background: yellow; }
  8. Browser Styles  Browser default style sheets  User Style

    sheets – firefox plugin  CSS Reset  Box Model
  9. CSS: Typography  Color of page elements  Color for

    links  Font styling  Family  Color  Size  Line height  Letter spacing  Word spacing demo
  10. Resources  http://net.tutsplus.com/  http://alistapart.com/  http://www.smashingmagazine.com/  http://css-tricks.com/ 

    http://css-weekly.com/  http://html5weekly.com/  http://diveintohtml5.info/  http://www.html5rocks.com/en/