Friday, 18 September 2015

Weekly blog entries; Chapter 3 Configuring CSS Text and CSS

Checkpoint 3.1


1. List three reasons to use CSS on a web page.

Three reasons to use CSS on a web page are:
  1. Clean Source Code, 
  2. Separation of Content and Presentation
  3. Consistency of Page Design


2. When designing a page that uses colors other than the default colors for text and background, explain why it is a good reason to configure both the text color and the background color.

It is a good reason to configure both the text color and the background color because  the page will not be plain and to attract people to read the page.


3. Describe one advantage to using embedded styles instead of inline styles.


Both styles are great for quick fixes or prototyping but embedded styles is easier to cut out of the final prototype and put into an external file when templates are done.


 Checkpoint 3.2

1. Describe a reason to use embedded styles. Explain where embedded styles are placed on a web page.

A reason to use embedded styles is it allows us to override the rules of an external style sheet. Embedded styles are set in the HEAD section of your web page.

2. Describe a reason to use external styles. Explain where external styles are placed and how web pages indicate that they are using external styles.

A reason to use external styles is that it can change that one external file, and have that change reflected on every page of your site that links to the external CSS file. Any or all methods of implementing CSS can be used on the same page. An external style is simply a link placed in the HEAD section of your web page to a separate file containing your style rules.

3. Write the code to configure a web page to associate with an external style sheet called mystyles.css.

body {
    background-color: lightblue;
}

h1 {
    color: navy;
    margin-left: 20px;
}

Saturday, 12 September 2015

Weekly blog entries, Chapter 2: HTML basics

Checkpoint 2.1

Describe the origin, purpose, and features of HTML.

HTML was created as a language that would enable researchers to share, structure, cross-reference documents.
 

The purpose of HTML is to provide a set of general rules that suggest how content should look when rendered. A markup language doesn't dictate the methods used to display the content, nor does it have foreknowledge of the target context, so this control is imprecise.

Each individual markup code is referred to as an element or tag. (each tag has its purpose)


Describe the software needed to create and test web pages.

Text editor: notepad text editor (included in Windows), text edit (include in Mac), Notepad++ (3rd party app), TextWrangler for Mac (3rd party app).
 

Commercial web-authoring tool: adobe dreamweaver, rapidweaver.
 

Open the app, then save as, name it as "index.html" or "index.htm" in a certain folder. To test your page, double click the save file.

Describe the purpose of the head and body sections of a web page.

The head section contains information that describes the web page document.

The body section contains the actual tags, text, images and other objects that are displayed by the browser as a web page.


Checkpoint 2.2
Describe the features of a heading element and how it configures the text.

Heading elements are organized into six level: h1 to h6, as h1 is the largest. All text contained within headng tags is displayed with bold font weight.
Describe the difference between ordered lists and unordered lists.

Ordered list displays a numbering or lettering system to itemize the information contained in the list.

Unordered list displays a bullet, or list marker, before each entry in the list, either; disc (default, square and circle).

Describe the purpose of the blockquote element.

Blockquote element is used to display a block of quoted text in a special way-intended from both the left and right margins.



Checkpoint 2.3

Describe the purpose of special characters.

Certain characters are taken to have special meaning within the context of an HTML document. ther are two printing characters which may be interpreted by the browsr to have an effect of the format of the text.

Example of special character: leftward arrow the special character; "&larr"


Describe when to use an absolute link. Is the http protocol used in the href value?


An absolute hyperlink indicates the absolute location of a source on the web. 

Example: <a href="http://webdevedfoundation.ne/6e/chapter1.html". Web Development &amp; Design Foundations Chapter 1 </a>
 

The http protocol is used in the href value.
Describe when to use a relative link. Is the http protocol used in the href value?


A relative hyperlink is when we need to link to web pages within our site. it contains the file name or file name and folder of the web page we want to display.
 

Example: <a href="contact.hml"> Comtact Us</a>
 

The http protocol is not used in the href value.

Friday, 4 September 2015

Weekly blog entries, Chapter 1: Introduction to the Internet and Web

Checkpoint 1.1

1. Describe the difference between the Internet and the Web.

The internet and the web are different.

The internet is the massive interconnection of computer networks that span the globe. While the Web is one set of software services running on the internet.


We can see the difference in terms of:

  • Estimated year of origin: the internet has introduced since 1969 while web in 1993.

  •  Name of the first version: ARPANET is the name of the first version of internet and NSFnet is for the web.

  • Comprises: for internet: network of computers, copper wires, fibreoptic cables & wireless networks while web: files, folders & documents stored in various computer.

  • Internet governed by Internet Protocol and Web governed by Hyper Text Transfer Protocol (HTTP).

  • Internet is the base while the web it depends on Internet to work.

  • Internet is a hardware unlike the web it is a software.


2. Explain three events that contributed to the commercialization and Exponential growth of the Internet.

Three evets that contributed to the commercialization of Exponential growth of the internet:

Going through chronology of events of internet,

In 1991, many important events took place such as first web page created, which brought some major innovations to the world of the internet.mp3 becomes standard and one of the more interesting developments of this era was the first webcam.

In 2008, the first ‘Internet Election’ took place with the U.S Presidential election.

In 2009, ICANN policy changes brought about one of the biggest changes to come to the internet.

3. Is the concept of Universal design important to web developers? Explain your answer.

Yes, it is important as it is convenience for all users.




Checkpoint 1.2

4. Describe the components of the client/ server model as applied to the Internet.

When needed, the web client is connected to the internet, usually it runs web browser (client) software such as Internet Explorer or Firefox or Google Chrome or Safari, by using HTTP, requests web pages from a server and receives web pages and files from a server

The web server is connected to the internet continually and runs web server software such as Apache and Internet Information Server, by using HTTP, receives a request for the web page and responds to the request and transmits the status code, web page, and associated files.


5. Identify two protocols used on the Internet to convey information that use the Internet, but do not use the web.

The two protocols used on the internet to convey information that use the internet, but do not use the web are File Transfer Protocol (FTP) and Transmission Control Protocol (TCP).


6. Explain the similarities and differences between a URL and a domain name.

 
A Uniform Resource Locator (URL) is a type of URI which represents the network location of a resource such as a web page and so on. The URL consists of the protocol, the domain name and the hierarchical location of the file on the web server.

URL is the full address to a web page, e.g. https://www.edmodo.com/
There are different kinds of domain names. E.g. top-level domain, second-level domain and third-level domain.

A domain name is part of the URL. It locates an organization or other entity on the internet. The purpose of the Domain Name System (DNS) is to divide the Internet into logical groups and understandable names by identifying the exact address and type of the organization.
Domain name, e.g. Edmodo.com