class 3
play

Class 3 @rwdkent Overview Current Events in Web Whiteboard - PowerPoint PPT Presentation

Class 3 @rwdkent Overview Current Events in Web Whiteboard Activity 2 Case Study Group 2 Spot the Error HTML Basics 1 Review HTML Basics 2 Hands On HTML Basics Part 2 Current Events in Web Apple Announcements HTML Basics 1 Review


  1. Class 3 @rwdkent

  2. Overview Current Events in Web Whiteboard Activity 2 Case Study Group 2 Spot the Error HTML Basics 1 Review HTML Basics 2 Hands On HTML Basics Part 2

  3. Current Events in Web Apple Announcements

  4. HTML Basics 1 Review

  5. <A> Links THE PAGE THE LINK TAKES YOU TO <a href="http://www.imdb.com">IMDB</a> THE TEXT THE USER CLICKS ON

  6. Email Addresses THE ACTUAL EMAIL ADDRESS + MAILTO <a href=“mailto:challahan@ideabasekent.com”>Email Chris</a> THE TEXT THE USER CLICKS ON

  7. File Paths

  8. Files and folders (directories) are organized in a tree hierarchy.

  9. What is the difference between absolute and relative file paths?

  10. <a href=“linkhere.html”>Click Me</a>

  11. <a href=“http://www.kent.edu/about”>Click Me</a>

  12. How do you link to a file in a folder/directory above the current folder?

  13. <a href=“../linkhere.html”>Click Me</a>

  14. HTML: 
 Images, Tables, Forms

  15. Image Markup <img src="images/quokka.jpg" 
 alt="A family of quokka"/>

  16. Image Markup <img src="images/bird.gif" alt=“bird" /> 
 <p>There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

  17. Image Markup

  18. Image Markup <p><img src="images/bird.gif" alt="bird"/>There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

  19. Image Markup

  20. Images should be sized/ cropped according to the size you want them to display at on your page* * Does not account for high density (retina) displays

  21. You can’t make an image larger than its original size.

  22. Formats JPEG (JPG) GIF PNG SVG

  23. Formats WebP

  24. Images are most often the largest asset of any web page, and therefore affect performance the most.

  25. Optimizing Images Use Vectors for all Graphical Elements Resize the Image Dimensions Degrade the Quality (Save for Web) Use Different Responsive Images (Later) Caching/CDN (Later)

  26. Optimizing Images http://codepen.io/challahan/professor/xERdXg/

  27. Figure <figure> 
 <img src="images/otters.gif" 
 alt="Photograph of two sea otters 
 floating in the water" /> 
 <figcaption>Sea otters hold hands when 
 they sleep so that they don’t 
 drift away from each other. 
 </figcaption> 
 </figure>

  28. Figure

  29. Tables

  30. Tables <table> 
 <tr> 
 <td>15</td> 
 <td>15</td> 
 <td>30</td> 
 </tr> 
 <tr> 
 <td>45</td> 
 <td>60</td> 
 <td>90</td> 
 </tr> 
 </table>

  31. Tables <table> 
 <tr> 
 <th></th> 
 <th scope="col">Saturday</th> 
 <th scope="col">Sunday</th> 
 </tr> 
 <tr> 
 <th scope="row">Tickets sold</th> 
 <td>120</td> 
 <td>135</td> 
 </tr> 
 </table>

  32. Tables

  33. Tables are used for tabular data

  34. Tables are not used for page layout.

  35. Forms

  36. 
 
 Forms <form action="http://example.com/join.php" 
 method="get"> 
 This is where the form controls 
 will appear. 
 </form>

  37. What Goes Inside the Form?

  38. Doctype Declaration <!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Page Title Goes Here</title> <meta name="description" content="Page Description Goes Here"> </head>

  39. Comments <!-- start of introduction --> 
 <h1>Current Exhibition</h1> 
 <h2>Olafur Eliasson</h2> 
 <!-- end of introduction -->

  40. Iframe <iframe width="450" height="350" 
 src="http://maps.google.co.uk/maps? 
 q=moma+new+york&amp;output=embed" 
 frameborder="0" 
 scrolling="0"> 
 </iframe>

  41. Video <video src="videofile.webm" autoplay poster="posterimage.jpg"> </video> Used if you’re hosting the original video file on your own server. Can be placed in video player or as background video.

  42. Whiteboard Activity 2

  43. Spot the Error: HTML 2 http://codepen.io/challahan/pen/WRMMGM

  44. HTML Basics 2 http://rwdkent.com/class/assignments/html2/

  45. HTML Basics Hands On

  46. For Next Time HTML&CSS - Ch. 10 Introducing CSS, Ch. 11 Color, Ch. 12 Text, Ch. 14 Lists Tables & Forms HTML Basics 2 Due Case Study Group 3

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