View on GitHub

reads

https://yazansneneh.github.io/reads/

centering images with css

background-image

to set background to image use background-image property. * background-image:url('images/URL.png')

  1. background-repeat: it has 4 values, repeat, repeat-x, repeat-y, no repeat.
  2. background-attachment:
    • fixed : keep image on the same position on the page.
    • scroll : image move up and down as the user scroll
  3. background-position : when image is not repeated I can use postion
    • values : background-position: center center
    • values bg position values
  4. background it’s a shorthand for all previous values and combine them with space between each property.

Search Engine Optimization (SEO).

SEO is often split into two areas

On-Page Techniques

there are 7 places on each page of the website where i can add keywords to make my page more visable to the SE. these words people might search on to find your site

  1. Page Title (appear on page top in the window bar): and i can add it in head tag.
  2. URL / Web Address : the file name is part of the url, use keywords to help find my page.
  3. Headings: engine will know that this page is all about that subject.
  4. Text : repeat the keywords in the main body of the text at least 2-3 times.
  5. Link Text : Use keywords in the text that create links between pages.
  6. Image Alt Text : tell SE what is the content of the image.
  7. Page Descriptions :
    • The description also lives inside the <head> element and is specified using a <meta> tag.

Important Note : Never try to fool search engines! They will penalize you for it. For example, never add text in the same color as the background of the page as they can detect this.

How to Identify Keywords and Phrases

  1. brainstorm
  2. ogranize
  3. search.
  4. Compare
  5. Refine
  6. Map