Introductory HTML and JavaScript
HTML&CSS
Introduction
How the Web Works
- People access websites using software called web browsers
- When you ask your browser for a web page, the request is sent across the internet to a special computer known as a web server that hosts the site.
- People access the web via various devices (laptops, tablets mobile phones) & it is important to remember that these have varying screen sizes and connection speeds.
- Screen readers are programs that read out the contents of a computer screen to a user.
- When you look at a website your browser is typically receiving HTML & CSS from the web server that hosts the site
Chapter 1: Structure
- HTML Pages are text documents
- HTML uses tags (characters that sit inside angled brackets) to give information the surround special meaning.
- Tags are often referred to as elements
- Tags usually come in pairs. The opening tag denotes the start of a piece of content; the closing tag denotes the end.
- Opening tags can carry attributes, which tell us more about the content of that element.
- Attributes require a name and a value.
- To learn HTML you need to know what tags are available for you to use, what they, and where they can go.
- DOCTYPES tell browsers which version of HTML you are using
- You can add comments to your code between the
<!-- and -->
markers
- The id and class attributes allow you to identify particular elements.
- The
<div>
and <span>
elements allow you too group block-level and inline elements together.
<iframes>
cut windows into your web pages through which other pages can be displayed.
- The
<meta>
tag allows you to supply all kinds of information about your webpage.
- Escape characters are used to include special characters in your pages.
Chpater 17: HTML5 Layout
- The new HTML5 elements indicate the purpose of different parts of a web page and help to describe its structure.
- The new elements provide clearer code (compared with using multiple
<div>
elements).
- Older browsers that do not understand HTML5 elements need to be told which elements are block-level elements.
- To make HTML5 elements work in Internet Explorer 8 (and older versions of IE), extra JavaScript is needed, which is available free from Google.
Process & Design
- It’s important to understand who your target audience is, why they would come to your site, what information they want to find and when they are likely to return.
- Site maps allow you to plan the structure of a site.
- Wireframes allow you to organize the information that will need to go on each page.
- Design is about communication. Visual hierarchy helps visitors understand what you are trying to tell them.
- You can differentiate between pieces of information using size, color and style.
- You can use grouping and similarity to help simplify the information you present.
Javascript & JQuery
Introduction
Javascript makes web pages more interactive by:
Chapter 1: The ABC of Programming
Things I want to know more about
- The
<meta>
element and how to apply it in order to generate traffic to a page.
- HTML5 layout elements, their best uses and a better comprehension of when to apply them versus the use of the
<div>
element.
- Understanding how to code for older browsers so that my site can be rendered properly on any system, and maintains accessibility to multiple demographics.
- A more in depth comprehension of obtaining, interpreting and implementing user data to create an effective design and user experience. (Effective use of visual hierarchy, grouping & navigation)