Search This Blog

Tuesday, 9 September 2014

Overveiw

Overall reveiw of the course starting to get my head around HTML and CSS the more i practice the better need to time manage better with this class and others still learning HTML and CSS had trouble rembering  the deffenent tags inHTMLandCSS seemed to have my head around it now just have to put into practice more and finish the remake of evoke and the copy lession as only half way threw both poor time management on those tasks .
Also updateing blog every couple of nights shareing links with class mates and being on the ball
with the next task and try and better my work,and be PREPARED FOR NEXT HAND IN !

Histroy of web

History of the Web

Tim Berners-Lee invented the World Wide Web in 1989, about 20 years after the first connection was established over what is today known as the Internet. At the time, Tim was a software engineer at CERN, the large particle physics laboratory near Geneva, Switzerland. Many scientists participated in experiments at CERN for extended periods of time, then returned to their laboratories around the world. These scientists were eager to exchange data and results, but had difficulties doing so. Tim understood this need, and understood the unrealized potential of millions of computers connected together through the Internet.
Tim Berners-Lee, CERN (ca. 1991)Tim Berners-Lee.
CERN (circa 1991)
Tim documented what was to become the World Wide Web with the submission of a proposal to his management at CERN, in late 1989 (see the proposal.), This proposal specified a set of technologies that would make the Internet truly accessible and useful to people. Believe it or not, Tim’s initial proposal was not immediately accepted. However, Tim persevered. By October of 1990, he had specified the three fundamental technologies that remain the foundation of today’s Web (and which you may have seen appear on parts of your Web browser):
  • HTML: HyperText Markup Language. The publishing format for the Web, including the ability to format documents and link to other documents and resources.
  • URI: Uniform Resource Identifier. A kind of “address” that is unique to each resource on the Web.
  • HTTP: Hypertext Transfer Protocol. Allows for the retrieval of linked resources from across the Web.

Evoke second task redesign site

                             Redesigning the evoke website

Mark up structure

A typical page structure

  • Header (or masthead) at the top of the page, usually containing the top level heading of the page, and/or a company logo. This is the big bold statement at the top of the page that says what the web site is, and who it belongs to.
  • Main content column, which holds the main content of functionality you are here to use.
  • One of more sidebars, holding tributary content that is either related to that page's main content and changes as new pages are loaded (eg related links), or is always relevant and persists across the whole site (eg "your basket" information on an e-commerce site).
  • Navigation menu going across the page or down the page in a column. This often put in a sidebar, or may form part of the header.
  • A footer that goes across the bottom of the site and contains secondary information such as copyright information and contact details.
Lets visualise this a bit more with a specific example. The web site of Conquest of Steel (Chris Mills' band!) looks like so
Htmlstructure1.png
Figure 1: A typical example web site.
We could break this up into the sections we have just discussed, like so:

Htmlstructure2.png
Figure 2: the example site, with distinct sections overlaid.
These sections could contain any number of different nested elements, for example a footer could include a list full of links, a couple of paragraphs and an image. But how do we mark up these distinct sections, and group them together as single entities that can be laid out later on using CSS? Lets have a look, in the next section.

Structuring a page with HTML 4

HTML4 contains two generic container elements:
  • The <div> is a block level container that you can use to group sections of block level content together.
  • The <span> is an inline container that you can use to group sections of inline content together.
Note that <div> and <span> elements have no inherent content or dimensions, only that of their contents, until they are styled via CSS or manipulated by JavaScript. They also have no semantics, and the only way you can identify them is by giving them a class or id attribute.
You should only use these elements when there isn't a more appropriate, semantic element to use for marking up content. Marking up paragraphs and headings all with <div>s is a terrible thing to do, as although it might look ok, the page will be inaccessible to those using screen readers (screen readers need a good structure of headings to navigate by), plus it will be more bloated, harder to read, and less efficient to style with CSS. Try to cut down on the number of <div>s and <span>s used when possible: an abuse of these elements leads to what we call "divitis".
So, to mark up the example site, you could use the following elements:
Htmlstructure3.png
Figure 3: The example site, with appropriate HTML4 elements indicated for different major structural sections.
The markup would look something like this:
<body>

  <div id="header">
    <!-- header content goes in here -->
  </div>

  <div id="nav">
    <!-- navigation menu goes in here -->
  </div>

  <div id="sidebar1">
    <!-- sidebar content goes in here -->
  </div>

  <div id="main">
    <!-- main page content goes in here -->
  </div>

  <div id="sidebar2">
    <!-- sidebar content goes in here -->
  </div>

  <div id="footer">
    <!-- footer content goes in here -->
  </div>

</body>
 
Nesting dolls is a good way to look at web building
 

Interface design

Example of a maya interface
MAYA interface
User interface design (UID) or user interface engineering is the design of websites, computers, appliances, machines, mobile communication devices, and software applications with the focus on the user's experience and interaction. The goal of user interface design is to make the user's interaction as simple and efficient as possible, in terms of accomplishing user goals—what is often called user-centered design.
Good user interface design facilitates finishing the task at hand without drawing unnecessary attention to itself. Graphic design may be utilized to support its usability, influencing how the user performs certain interactions and improving the aesthetic appeal of the design; design aesthetics may enhance or detract from the ability of users to use the functions of the interface. The design process must balance technical functionality and visual elements (e.g., mental model) to create a system that is not only operational but also usable and adaptable to changing user needs.
Interface design is involved in a wide range of projects from computer systems, to cars, to commercial planes; all of these projects involve much of the same basic human interactions yet also require some unique skills and knowledge. As a result, designers tend to specialize in certain types of projects and have skills centered around their expertise, whether that be software design, user research, web design, or industrial design

Image optmization


The importance of optimizing images for web 

Even though broadband internet is taken for granted, optimizing images doesn’t seem to have the same importance as before. Why waste resources and time when it’s possible to reduce image size without losing it’s quality.
An important part of any website are photographs and in average they take about a half of it’s “weight”. Except that images should be of a good quality it is also important that they are properly optimised. Photo optimisation can be viewed from two aspects wherein the first aspect is the file size and the loading speed of an individual image, while the other aspect includes a proper file naming and optimisation for search engines.
If it takes too long for a website to load it is very likely that photographs used on a website are not properly optimised. This can affect a position on search engines or it can refuse visitors from such a website. There is an increasing number of mobile internet users which means certain limitation in data transfer and slower downloading speed which is another good reason for a proper optimization.
Photos that are transferred from a camera are in high resolution, for eg. 3456 x 2304 px and they are suitable for printing not for a website because it would take too long for them to load. So, the first step in optimisation is to resize it to a smaller resolution. It is not necessary to be an expert or to know programs such as Photoshop or Gimp. Everyone can do it with a little effort because there is a bunch of free and easy tools for resizing images.

CSS code

 Styles - CSS



CSS = Styles and Colors

Manipulate Text
Colors,  Boxes

Example

<!DOCTYPE html>
<html>
<head>

<style>
  body {background-color:lightgrey}
  h1   {color:blue}
  p    {color:green}
</style>

</heading/>


Styling HTML with CSS

CSS styling can be added to HTML elements the following 3 ways:
  • Inline - using the style attribute in HTML elements
  • Internal - using the <style> element in the <head> section
  • External - using external CSS files
The common way to add styling, is to put CSS syntax in separate CSS files.
In this tutorial the examples are simplified to make it easier for you to try it yourself.

Inline Styles

Inline styling is useful for applying a unique style to a single HTML element:
Inline styling uses the style attribute.
This line styling changes the text color and the left margin of single paragraph:

Example

<p style="color:green;margin-left:20px;">This is a paragraph.</p>




CSS Background Color

The CSS style background-color defines the background color for an HTML element:

Example

<body style="background-color:lightgrey">




CSS Font Family

The CSS style font-family defines the font to be used for in HTML element:

Example

<!DOCTYPE html>
<html>

<body>
  <h1 style="font-family:verdana">This is a heading</h1>
  <p style="font-family:courier">This is a paragraph.</p>
</body>

</html>



CSS Font Size

The CSS style font-size defines the text size to be used for in HTML element:

Example

<!DOCTYPE html>
<html>

<body>
  <h1 style="font-size:300%">This is a heading</h1>
  <p style="font-size:160%">This is a paragraph.</p>
</body>

</html


CSS Font Color

The CSS style color defines the text color to be used for in HTML element:

Example

<!DOCTYPE html>
<html>

<body>
  <h1 style="color:blue">This is a heading</h1>
  <p style="color:red">This is a paragraph.</p>
</body>

</htm


CSS Text Alignment

The CSS style text-align specifies the horizontal text alignment for an element:

Example

<!DOCTYPE html>
<html>

<body>
  <h1 style="text-align:center">Center-aligned heading</h1>
  <p>This is a paragraph.</p>
</body>

</html>
The text-align property makes the old <center> tag obsolete.

Internal CSS

An internal style sheet can be used to define a common style for all HTML elements on a page.
Internal styles are defined in the <head> section of an HTML page, in the <style> element:

Example

<!DOCTYPE html>
<html>
<head>

<style>
  body {background-color:lightgrey}
  h1   {color:blue}
  p    {color:green}
</style>

</head>




External CSS

External style sheet are ideal when the style is applied to many pages.
With external style sheets, you can change the look of an entire site by changing one file.
External styles are defined in the <head> section of an HTML page, in the <link> element:

Example

<DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
  <h1>I am formatted with an external style sheet</h1>
  <p>Me too!</p>
</body>

</html>




Deprecated Tags and Attributes

In HTML 4, several tags and attributes were used to style documents.
These tags are not supported in newer versions of HTML.
Avoid using these elements: <font>, <center> and <strike>.
Avoid using these attributes: color and bgcolor.