Saturday, November 8, 2014

HTML-Image,Hyperlink and Tables

Sir Tom taught us about HTML-Image,Hyperlink and Tables.

HTML Image
The <img> Tag and the Src Attribute
 images are defined with the <img> tag
 <img> tag is empty, which means that it
contains attributes only, and has no closing
tag
 Src stands for "source“ which contains the
URL of the image you want to display
 <img src="url" alt="some_text">
 <img src="boat.gif" alt="Big Boat">

Sir Tom gave us more exercises using html.
Exer5.html
<html>
<head>
<title>HTML Images</title>
</head>
<body>
<img src=“boat.jpg” alt=“image error” width=“100” 
height=“100”><br/>
<img src=“mountain.jpg” alt=“image error”><br/>
</body>
</html>

HTML Table
 Tables are defined with the <table> tag
 A table is divided into rows 
(with the <tr> tag)
 each row is divided into data cells 
(with the <td> tag)
 <td> tag can contain text, links, images, lists, 
forms, other tables, etc
 Header information in a table are defined 
with the <th> tag

Exer6.html
<body>
<table border="1">
<tr>
<th bgcolor=“blue”>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td bgcolor=“blue”>>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
</body>

HTML Hyperlinks (Links)
 <a> tag defines a hyperlink
 hyperlink (or link) is a word, group of words, 
or image that you can click on to jump to 
another document
 href attribute indicates the link’s destination
 <a href="url">Link text</a>
EX: 
<a href="http://www.w3schools.com/">Visit 
W3Schools</a>

home.html
<html>
<head>
<title>Home</title>
</head>
<body>
<h1>This is the Home Page</h1>
<a href=“home.html”>Home</a>
<a href=“about.html”>About</a>
<a href=“contact.html”>Contact</a>
</body>
</html>

contact.html
<html>
<head>
<title>Contact</home>
</head>
<body>
<h1>This is the Contact Page</h1>
<a href=“home.html”>Home</a>
<a href=“about.html”>About</a>
<a href=“contact.html”>Contact</a>
</body>
</html>

about.html
<html>
<head>
<title>About</home>
</head>
<body>
<h1>This is the About Page</h1>
<a href=“home.html”>Home</a>
<a href=“about.html”>About</a>
<a href=“contact.html”>Contact</a>
</body>
</html>

Friday, November 7, 2014

HTML- Text Formatting and Colors

Sir Tom taught us about HTML Text Formatting and Colors.

HTML-Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages.


Html Text Formatting

Sir Tom gave us some exercises.
EXER1.HTML
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><big>This text is big</big></p>
<p><em>This text is emphasized</em></p>
<p><i>This text is italic</i></p>
<p><small>This text is small</small></p>
<p>This is<sub> subscript</sub> and
<sup>superscript</sup></p>
</body>
</html>

Exer2.html
<html>
<body>
<p>
<font size="5" face="arial" color="red">
This paragraph is in Arial, size 5, and in red text color.
</font>
</p>
<p>
<font size="3" face="verdana" color="blue">
This paragraph is in Verdana, size 3, and in blue text color.
</font>
<p>
My mother has <span style="color:blue">blue</span> eyes.
</p>
</p>
</body>
</html>

Exer3.html
<html>
<body>
<div style=“width: 100%; height: 20%; background-color:green">
</div>
<div style=“width: 100%; height: 70%; background-color:blue">
</div>
<div style=“width: 100%; height: 10%; background-color:red">
</div>
</body>
</html>

Html Colors
DECIMAL - HEXADECIMAL
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F



Saturday, November 1, 2014

Netiquette

Sir Tom taught us about Netiquette..

Netiquette Rules:

Netiquette definition:

Netiquette Video
https://www.youtube.com/watch?v=Tugcu4rhfNs

Web Searching Tips and Tricks

Sir Tom taught us about Web Searching Tips and Tricks.

Use web friendly words
For example, instead of saying my head hurts, say headache, because that's the term a medical website would use.

Less is more
 Start with short search terms, then refine your results by adding more words.

Search with an exact phrase.
Keep in mind that searching with quotes might exclude relevant results. For instance, a search for"Alexander Bell" will miss pages that refer to Alexander G. Bell.

Don't worry about cases.
 A search for new york times is the same as a search for New York Times.

Search within a specific site
For example:
China site:nytimes.com

Don't worry about punctuation
Search ignores punctuation. This includes @#%^*()=[]\ and other special characters.

Search by file type
Ex: History of China filetype:doc

Get number conversions
Convert any measurement
-- like miles to kilometers or ounces to liters
-- by typing in the number and unit of measurement.
Ex: 5km to miles

Get the time
To see what time it is anywhere in the world, search time and the city or country.
Ex: time Philippines

Get currency conversions
Get current exchange rates by searching [currency 1] in [currency 2].
Ex: USD in Philippine Peso

Check the weather
Search weather followed by a U.S. zip code or the name of any city in the world to get the current weather and forecast.
Ex: weather Philippines

Get definitions
Put define: in front of any word to get its definition.
Ex: define: definition

Calculate anything
Enter any math equation into the search box and we'll calculate your answer.
Ex: 1+1

Exclude a word or site
Add a dash (-) before a word or site to exclude all results that include that word.
Ex: China –wiki
China –site:wikipedia.org


Why do you need to evaluate your search results?
There are two main reasons:
1. Quality control- anyone can publish on the web, so there is little quality control,
and information is often inaccurate and/or out-of-date.

2. Reviewing the success of your search -careful evaluation can help you produce
better work, raising your marks; evaluate badly or not at all and you can lose marks.



5 Questions to ask when evaluating the quality of your results
1.Author

2.Host site

3.Audience

4.Currency

5.Content