CLASS-11

CSS IMAGES

We use CSS to control the size and alignment of images.

  • Size: We use the width and height properties.
  • Alignment: We use the float property.
  • Centering: Images are inline elements by default. We display with the value block.
  • Background Images: There are a few properties we can use:
    • background-image Places image behind any html element.
    • background-repeat Image is repeated horizontally or vertically.
    • background-attachment Specifies if image should stay in position or move as the user scrolls.
    • background-position Specifies where in the browser window should be placed.
    • background Shorthand for all the other background properties.
  • Rollover: Changes buttons to a second style when user moves the mouse over it.

HTML Video & Audio

The html elements for embedding these type of media documents are <audio> and <video>. There are many ways to utilize them within an html file. It is now convention to use third party hosting services like youTube or Vimeo for this purpose. It allows us to free storage from our site.


PRACTICAL INFORMATION

SEARCH ENGINE OPTIMIZATION (SEO)

SEO is the practice of trying to help our site appear nearer to the top search engine results when people look for the topics our site covers.

  • On-Page Techniques: Methods we can use on our web pages to improve their rating in search engines. We can add keywords to it.
  • Off-Page Techniques: Getting other sites to link to ours.
  • Google Analytics: Tool that helps us analyze many aspects when people start using our site (e.g)
    • Visits
    • Unique Visits
    • Page Views
    • Pages Per Visit
  • Domain Name & Hosting: Domain is our web address. Hosting refers to uploading our site to a web sever.
  • FTP: File Transfer Protocol (FTP) allows us to transfer files across the internet from our computer to the web server hosting our site.

FLASH was a popular technology to add animations, video and audio to websites. It is now obsolete.


Things I want to know more about

  • I would like to learn more about FTP.

-back