html css content presentation javascript behavior
play

HTML CSS Content Presentation JavaScript Behavior CSS is for - PowerPoint PPT Presentation

HTML CSS Content Presentation JavaScript Behavior CSS is for giving style to your content HTML: content CSS: style CSS Zen Garden The best (only way for this class!) way to insert CSS to your HTML is by using an External Style Sheet


  1. HTML CSS Content Presentation JavaScript Behavior

  2. CSS is for giving style to your content HTML: content CSS: style CSS Zen Garden

  3. The best (only way for this class!) way to insert CSS to your HTML is by using an External Style Sheet Define all your styles in one place Easily change the look of your site Use the following <link> tag within the <head> tag <link href =“mystyle.css” rel=stylesheet>

  4. New HTML file in Komodo 1) New CSS file in Komodo (mystyle.css) 2) Link CSS file from HTML (in head 3) section!) <link href =“mystyle.css” rel =“ stylesheet ”>

  5. Selector specifies the HTML element to style Declaration: always contains a property & value ends with a semicolon Property: style element you want to change Value: what you are changing the property to

  6. Formatting Practices: some flexibility, but you must be consistent. always comment unclear code! /* someCommentHere */ curly braces tab alignment Bad practices: declarations on the same line as braces or selector multiple declarations on the same line leaving off the last ; What does Komodo help you with? drop downs formats syntax errors

  7. full reference sheet

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend