Basic HTML/CSS Primer for High School Advisers

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites

    Basic HTML/CSS Primer for High School Advisers - Presentation Transcript

    1. HTML Foundation of Web development < <
    2. You don’t have to be a Web ninja to understand Web development basics.
    3. Code is a series of logical questions and answers
    4. So, let’s answer some questions …
    5. Layers of a Web site
    6. Hypertext Markup Language Hypertext Markup Language describes: - Structure - Content - Typographic hierarchy - Rudimentary style (bold, italics, etc.) What is HTML?
    7. HTML Document It might feel chaotic and unstructured … But the entire content of the page exists here.
    8. Cascading Style Sheets - Separates style from content - Easier to change formatting and update an entire Web site - Eliminates page load - Flexible design - Better user accessibility for search bots and screen readers - Allows you to design for multiple browsers and multiple Operating System (Linux, PC or Mac) environments What is CSS?
    9. CSS Document
      • HTML is used for content and structure
      • HTML houses scripting languages and behaviors
      • CSS separates style from content
      • CSS helps screen readers and users with disabilities read real content
      HTML vs. CSS Review Speaking of accessibility …
    10. A brief intro to accessibility
    11. When building a Web site consider accessibility issues for users , search engines and mobile applications
    12. A user sees:
    13. Search bot/screen reader: Video on Screen Readers and Accessibility
    14. Mobile device:
    15. There are several things you can do to create good experiences for all users:
    16. Write good, descriptive headlines
    17. Write detailed paragraphs
    18. Write precise page titles
    19. Write descriptive image tags
    20. Write descriptive links Don’t say ‘click here!’
    21. Separate content from style
    22. Ready to start writing HTML and CSS ? Who needs fancy schmancy software? We don’t!
    23. Create a folder called ‘ Web ’ on your desktop
    24. In that folder, create a new folder called ‘ style ’
    25. Open a text editor : Text Wrangler, Text Edit or even Word is fine.
    26. Save a new document as ‘index.html’ You just created a homepage. And added content.
    27.  
    28. HTML has open and close brackets, which are called tags: <b> Content goes here </b> Result: Content goes here <i> Content goes here </i> Result: Content goes here For a complete list, go to W3Schools.org <font color=”blue”> Content </font> Result: Content
    29.  
    30. Declare a ‘DOCTYPE’ DOCTYPE tells browsers which set of rules or semantics to use, what types of tags are allowed and how strictly to follow it. XHTML 1.0 Transitional is now one of the most common ‘DOCTYPEs’ to declare. For a complete list, go to W3.org
    31. Create an HTML tag
      • - Defines the document as <html>
      • Make sure to add open and close tag
      • End of the document </html>
    32. Create an HEAD tag
      • - Defines header information
      • Contains meta data and links to external files (such as CSS)
    33. Create an TITLE tag Defines Title of Web page
    34. Create an LINK tag A favicon is the small image that shows up in the browser Examples:
    35. Create META information Add descriptive text for search engines and screen readers to read
    36. Create CSS Link Adding a stylesheet link will allow you to link CSS to HTML
    37. Create a CSS file - Create a new file called styles.css
    38. Link HTML to CSS Make sure that the name of the folder matches up
    39. Add a BODY tag to the HTML page Defines content area of the Web page
    40. Let’s start adding content! Between <body></body> tags, you can start to add other tags, such as paragraphs <p></p> and headlines <h1></h1>
    41. You’ve got a page … But it looks kind of boring, right?
    42. CSS Basics p { color:#666666; } Result: Content becomes grey p { color:#666666;font-weight:900; } Result: Content becomes grey and heavy bold Target HTML tags with ‘selectors’ in CSS. Attribute style information between the brackets.
    43. Change ‘style’ of an HTML element:
    44. Remember this?
    45. Who’s a Web ninja? Questions?

    + Erin CubertErin Cubert, 4 months ago

    custom

    703 views, 3 favs, 0 embeds more stats

    During Emerging Media workshop we talked about the more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 703
      • 703 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags