Reading-Notes


Project maintained by eslamakram Hosted on GitHub Pages — Theme by mattgraham

reading notes 201 class 01

There are 3 types of websites:

  1. Small websites are often written just using HTML and CSS.
  2. Larger websites — in particular those that are updated regularly and use a content management system (CMS), blogging tools, or e-commerce software — often make use of more complex technologies on the web server.
  3. Larger, more complex sites like these may use a database to store data, and programming languages such as PHP, ASP.Net, Java, or Ruby on the web server.

HTML

  1. HTML Structure structure is very important in helping readers to understand the messages you are trying to convey and to navigate around the document. note : The structure is very similar newspaper but it covert it online to browse it via mobile, laptop ..etc how to strucure ? HTML uses tags (characters that sit inside angled brackets) to give the information they surround special meanings. Tags are often referred to as elements.

Tags usually come in pairs:

  1. The opening tag denotes the start of a piece of content ; can carry attributes, which tell us more about the content of that element
  2. the closing tag denotes the end.

  3. Extra Markup
    1. DOCTYPES : declaration to tell a browser which version of HTML
    2. Comments in HTML : <!-- comment goes here -->
    3. ID Attribute : it is used to uniquely identify that element from other elements on the page. Its value should start with a letter or an underscore (not a number or any other character).
    4. Class Attribute : it is used to identify several elements as being different from the other elements on the page.
    5. Block Elements : elements will always appear to start on a new line in the browser window. Examples of block elements are <h1>, <p>, <ul>, and <li>.

    6. Inline Elements : elements will always appear to continue on the same line as their neighbouring elements. Examples of inline elements are <a>, <b>, <em>, and <img>.
    7. Grouping Text & Elements In a Block : - <div> element allows you to group a set of elements together in one block-level box - <span> element allows you to group a text. also, it is used to either Contain a section of text where there is no other suitable element to differentiate it from its surrounding text or Contain a number of inline elements.
    8. Information About Your Pages : The <meta> element lives inside the <head> element and contains information about that web page.
    9. Escape characters are used to include special characters in your pages such as <, >, and ©.
  4. HTML 5 Layout

Process and design Every website should be designed for the target audience—not just for yourself or the site owner. It is therefore very important to understand who your target audience is.

Site Maps The aim is to create a diagram of the pages that will be used to structure the site. This is known as a site map and it will show how those pages can be grouped.

JAVASCRIPT

ABC of programming :