Polangui General Comprehensive High School Polangui, Albay Prepared by: Mr. Eric M. Marilag PGCHS ICT – Teacher
What is Internet?• a computer network made up of thousands of networks worldwide• It consist of millions of computers interconnected with one another via a modem and Transmission Control Protocol/Internet Protocol suite, (TCP/IP)
What is Internet?is a global network of computers whichare mostly connected using telephonelines/satellites for the purpose of sharinginformation
What is Internet?• Is also known as Interconnected Net, Information Highway, or simply known as NET.• Is a mechanism to distribute information and provide interaction between individuals and their computers without regard for geographic location.
What is Internet?
Uses of Internet1.Internet is used to communicate with people.2.Internet is used to get information.3.Internet is used for on-line shopping.4.Internet is used for entertainment.5.Internet is used to transact business.
Requirements Needed to Access the NET • Is the machine used to send and receive electronic documents via internet.
Requirements Needed to Access the NET • Is a device that transmit analog signal and receives data in digital signal through telephone lines. It is short for Modulator /Demodulator.
Requirements Needed to Access the NET Are used to transmit signals from one computer to another with help of modem.
Requirements Needed to Access the NETInternet Service Provider– is a company that providesconnection to the Internet.
Requirements Needed to Access the NET Web Browser – is a program that is used to navigate the internet.
HOW THE INTERNET WORKS
HOW THE INTERNET WORKS1. Do a dial – up connection to your internet Service Provider (ISP.2. The modems converts the signals from your computer to signals that travel over the telephone lines to your ISP.3. Open the Web browser and then, enter a website address in the address box.
HOW THE INTERNET WORKS4. The Web browser sends the request to the ISP.5. The Web server locates the files and then downloads them to your computer.6. The web browser assembles the Web page on the screen.
What is a Web page?Web page are actually pages of text with coded messages telling a browser what to do. If you open a web page through a word processor, you will see a lot of funny looking symbols and codes. When you view the same page through your browser, you see text, colors and images.
Different types of Web pagesSTATIC WEB PAGE A web page that is written and then served to the user as is, with no other information added to it, all the web server does is display it. Often these types of pages will be the basis for an interactive site, as static pages load faster, and because they dont have any changing information in them, you know how they will be displayed, as there is less to go wrong in them.
Web browseris a software application used to locate and display Web pages.The purpose of a web browser is toread HTML documents and displaythem as web pages. The browserdoes not display the HTML tags, butuses the tags to interpret the contentof the pages.
WebsiteCollection of web pages.A website can be viewed through its website address or technically known as UNIFORM RESOURCE LOCATOR (URL).
What is URL•Uniform Resource Locator – is the address of an object, a document, a file or a web page on the internet.
Parts of URL World Wide Web Locator http:www.learnthenet.com/english/start/.htmProtocol Domain Name Related Web Pages
Parts of URLhttp://. (Hypertext transfer protocol)- Protocol used in the communication between the browser and the web serverwww.- Represents by the characters www. This indicates a page on the world wide web
Parts of URLDomain Name- Tells the name of the owner of the site.- Suffix type extension name that tells what the site is about.- Sometimes it has country code that tells where the website is located. - Learnthenet – name of the owner of the site. - .com – a suffix name that tells a site is a commercial site.
Some Common Suffix Extension Name..com - commercial site.edu - educational site.gov - government site.net - network site.org - organizational site.mil - military agency
Some of the Country Location Code.ph - Philippines.ca - Canada.uk - United Kingdom.au - Australia
Parts of URLRelated Web Pagesenglish/start.htm• Is a directory or folder connected to the web that contains a group of related web pages.
Identify the Parts of URL 7 http:www.learnthenet.com/english/start/.htm 8 9 10
Hyper Text MarkupLanguage
HTML• The language used to write Web pages which consists of codes (tags) embedded in the text.• It is not a programming language, it is a markup language.• Invented in 1990 by Tim Berners – Lee• Simple ASCII text files.• File extension name .html or .htm
HTML• Hidden codes that helps us communicate with others on the World Wide Web (www).• The tags tell the built in function in the web browser how to structure the text. For instance put text in a bold font• An HTML file can be created using a simple text editor
This is what HTML looks like
Markup Language- Combines text and extra information about the text. The extra information, for example about the text’s structure or presentation, is expressed using markup, which is intermingled with the primary text.
• Markup Language – is a set of markup tags
Basic Tools To setup a WebsiteText editor - Page Spinner for Macintosh - Notepad for windows - WordPad.Web Browser - Internet Navigator - Mozilla Firefox
HTML Basic StructureHTML– the first and last tags in a document should always be the html tags. These are the tags that a web browser where the html in your document begins and ends. <HTML> </HTML>
HTML Basic StructureHEAD– the head tags contain all of the document’s header information.
HTML Basic StructureTITLE this container is placedwithin the head structurebetween the title tags, youshould have the title of yourdocument.
HTML Basic StructureBODY– comes after the head structure. Where the actual document contents are placed.
HTML Document Template<HTML> - tells the web on the type of document.<HEAD> - technical information about the document is stated.<TITLE> - gives the document a name.<BODY> - where the actual document contents are placed.
<HTML><HEAD><TITLE>Document Title</TITLE></HEAD><BODY>This is for the body…….</BODY></HTML>
TAGS• Are the building blocks of HTML.• Keywords surrounded by angle brackets.• It contains the layout and formatting of the elements in HTML.• HTML markup tags are usually called HTML tags
Left angle bracket Right angle bracket ElementElement - is the coded commands within HTML. - tells the browser how to display the web pages.
Parts of HTML Tag VALUE CLOSING TAGTAG TEXT
Two kinds of HTML tagsContainer tag are paired with a beginning (or open) and an ending tag. (/) forward slash is an indicator that the tag has ended. <html> opening tag </html> closing tag
Two kinds of HTML tagsEmpty tag can stand alone. this tag can be encoded even without the closing tag. the tag <br> is one that adds a line break.
Tag – NAME is the name of the tag or thehtml command.TAG – NAMEs cannot contain spacesATTRIBUTES control the properties of thetag using the given VALUE and are placedONLY inside the starting tagVALUE is surrounded by quotation marksAffected Text /Image /Object is displayedbased on the tag and its attributes.
An equal sign (=) separates the attributesfrom its value.Each tag has some default value for itsattributes.A tag can have many attributes and eachattributes can have many values; someattributes have no value.Tags usually surround Affected Text / image /object
HTML Text StructureHeadings–The heading structure are most commonly used to set apart document or section titles.
Headings• Define the format of structure of the document>there are six levels of headings in HTML<H#> - start of heading</H#> - end of headingWhere # is a number from 1 to 6Ex. <h1>Heading</h1>
<html><head><title>This is a sample Heading</title></head><body><h1>heading 1</h1><h2>heading 2</h2><h3>heading 3</h3><h4>heading 4</h4><h5>heading 5</h5><h6>heading 6</h6></body></html>
<Heading>Tag Attributes Heading tags have attributes and the important attributes are ALIGN and TITLE• ALIGN – changes the alignment of the headings.Values• Left (Default Value) aligns the heading to the left• Right – aligns the heading to the right.• Center – aligns the heading to the center.• Justify – justifies the heading.
<BODY>Tag Attributes - Controls the properties of the document as a whole.• TEXT – specifies the color of normal text in the page.Sample: <BODY TEXT=“Red”>• LINK - specifies the color of text with hyperlink in the pageSample: <BODY LINK=“Blue”>• VLINK – specifies the color of text with a visited hyperlink in the page.Sample: <BODY VLINK=“#FF0000”>
<BODY>Tag Attributes• ALINK – specifies the color of text with hyperlink when clickedSample: <BODY ALINK=“#FF0000”>• BGCOLOR – specifies the background color the page.Sample: <BODY BGCOLOR=“#0000FF”>• BACKGROUND – specifies the background image of he page.Sample: <BODY BACKGROUND=“MybackgroundImage.jpg” >
Paragraphs• In HTML you indicate paragraphs with the <P> and </P> elements.• Without these elements the document becomes one long paragraph.
HTML Code Browser Display This is a very short paragraph<P> This is a very short to illustrate my point.paragraph to illustrate mypoint.</P> <P>And this is And this is the secondthe second paragraph. </P> paragraph.<P> Although this Although this is writtenis written differently differently with lots ofwith lots of carriage returns carriage returns it still onlyit still only displays displays the paragraphs whenthe paragraphs when you put in the Paragraph Tag.you put in the ParagraphTag.</P> Like so.<P> Like so.</P>
Paragraph Attributes• Paragraph alignment can be manipulated by including either the RIGHT, LEFT, or CENTER attributes within the <p> HTML Code Browser Display<P ALIGN=“left”> This paragraph is This paragraph is left aligned.left aligned. </P><P ALIGN=“CENTER”> This is a This is a centered paragraph.centered paragraph. </P><P ALIGN=“RIGHT”> This paragraph This paragraph is right aligned.is right aligned. </P>
BREAK TAGSLINE BREAK TAGS <BR> are used to introduce any line breaks Tell the browser that this is the end of the line and start to a new one.<BR> - place where the line break is to insertedExample: First line<BR>
NO LINE BREAK TAGSUsed to surround text that will be displayed in a single line<NOBR> - Start of no line break tags</NOBR> - End of no line break tags
Adding listsa) unordered list.<ul> <li> the first list item</li> <li> the second list item</li></ul>
PHYSICAL TAGS• Define how text should be displayed on the browser• Control the physical characteristic of the text• There are 10 physical tags in HTML.
Physical Tags1. ITALIC - formats the text to italic <I> - start of the italic </I> - end of the italic formatExample : <I>Italic</I>Result : Italic2. BOLD – formats the text to bold. <B> - start of the bold format </B> - end of the bold formatExample : <B>Bold</B>Result : Bold3. UNDERLINE – underlines the text <U> - start of the underline text </U> - end of the underline textExample : <U>Underlined</U>Result : Underlined
Physical Tags4. STRIKETROUGH – strikes through the text. <STRIKE> - start of the struck text </STRIKE> - end of the struck textExample : <STRIKE>Struck</STRIKE>Result : Struck5. SUPERSCRIPT – superscript the text <SUP> - start of the superscripted text </SUP> - end of the superscripted textExample : <SUP>Superscripted</SUP>Result : Superscripted6. SUBSCRIPT – subscripts the text <SUB> - start of the subscripted text </SUB> - end of the subscripted textExample : <SUB>Subscripted</SUB>Result : Subscripted
Physical Tags7. TYPEWRITER – uses typewriter font as text font. <TT> - start of the typewriter font text <TT> - end of the typewriter font text.Example :<TT>Typewriter</TT>Result :Typewriter8. BIG – uses bigger font size. <BIG> - start of the bigger text. </BIG> - end of the bigger text.Example :<BIG>Tag</BIG>Result :Tag9. SMALL – uses small font size. <SMALL> - start of the smaller text. </SMALL> - end of the smaller text.Example :<SMALL>Tag</SMALL>Result :Tag
Physical Tags10. STRIKETROUGH (alternative) – strikes throughthe text. <S> - start of the struck text. </S> - end of the struck textExample : <S>Struck</S>Result : StruckPHYSICAL TAGS NESTING-One tag can be placed inside another.Example : <B><S>Struck</S></B>Result : StruckExample : <I><B><S>Struck</S></B></I>Result : Struck
LOGICAL TAGS• Indicate the type of content they enclose• Do not determine the display of the text• There are 9 logical tags in HTML.
Logical Tags1. STRONG - indicates the text to be strong <STRONG> - start of the strong </STRONG> - end of the strongExample : <STRONG> HTML </STRONG>Result : HTML2. EMPHASIS – emphasis the text. <EM> - start of the emphasis </EM> - end of the emphasisExample : <EM> HTML </EM>Result : HTML3. ABBREVIATION – indicates that the text is an abbreviation. <ABBR> - start of the abbreviation </ABBR> - end of the abbreviationExample : <ABBR>abbreviation </ABBR>Result : abbreviation
Logical Tags4. CITATION - indicates the text is a citation. <CITE> - start of the citation </CITE> - end of the citationExample : <CITE> Citation </ CITE>Result : Citation5. CODE – indicates the text is a code. <CODE> - start of the code </CODE> - end of the codeExample : <CODE> Code</CODE>Result : Code6. DEFINITION– indicates that the text is a definition. <DFN> - start of the definition </DFN> - end of the definitionExample : <DFN>definition</DFN>Result : definition
Logical Tags7. KEYBOARD - indicates that the text should be like keyboard strokes. . <KBD> - start of the keyboard strokes </KBD> - end of the keyboard strokesExample : <KBD> keyboard </KBD>Result : keyboard8. SAMPLE – indicates the text is a sample. <SAMPLE> - start of the sample </SAMPLE> - end of the sampleExample : <SAMPLE>Sample</SAMPLE>Result : Sample9. PROGRAMMING VARIABLE – indicates that the text is a programming variable. <VAR> - start of the programming variable </VAR> - end of the programming variableExample : <VAR>Programming Variable</VAR>Result : Programming Variable
HORIZONTAL RULEHORIZONTAL RULE <HR> - used to separate blocks of text in a document. - puts a straight line across the page . - no end tag <HR> - puts a horizontal rule
HORIZONTAL RULE ATTRIBUTESWIDTH – changes the width of the horizontal rule.VALUES In pixel In PercentageEx: <HR WIDTH=“50”> - puts a 50 pixels long line. < HR WIDTH=“50%”> - puts a line 50% of the page’s width.
HORIZONTAL RULE ATTRIBUTESSIZE – changes the sizes of the horizontal rule.Ex: <HR SIZE=“5”> - puts a 5 pixels THICK line.ALIGN – changes the alignment of the horizontal ruleExample: <HR ALIGN=“CENTER”>COLOR – changes the color of the horizontal rule.Examples: <HR COLOR=“RED”> <HR COLOR=“#FF0000”>
FONT TAG• Changes various properties of text <FONT> - start of the font specific text. </FONT> - end of the font specific text.
FONT ATTRIBUTES• Allows you to specify font properties.FACE – changes the font face or font typeValues: Name of the fontExample: <FONT FACE=“Arial”>HTML</FONT>
FONT ATTRIBUTESCOLOR – changes the font color.Values can be:Color Name – name of the color (Ex: Red, Blue, etc.) Color Code– 6 Digits Hexadecimal Color Code.Ex: <FONT COLOR=“Blue”>HTML</FONT> <FONT COLOR=“#FF0000”>HTML</FONT>
FONT ATTRIBUTESSIZE – changes the font size.Values can be:Any number between 1 to 7: being the smallest and 7 being the biggest, (3 is the default value)Relative values, + and -, for increasing or decreasing font size relative to the current size.Ex: <FONT SIZE=“1”>Smallest text</FONT> <FONT SIZE=“+4”>larger text</FONT>
MARQUEE<MARQUEE>………..</MARQUEE>• Scrolling Objects (makes your text, objects scroll.) (Text, Graphics, etc.)Attributes: Direction = left/right/up/down Behavior = scroll/slide/alternate Bgcolor = color or Hexadecimal Width = n% Height = n%
MARQUEE<MARQUEE>………..</MARQUEE>Ex:<marquee behavior=“slide” direction=“left” bgcolor=“red”> The Marquee </marquee><marquee behavior=“slide” direction=“left” bgcolor=“red” width=“50” height=“30”> The Marquee </marquee>
ORDERED LISTS• It includes letters or numbers that indicate the sequence<OL> - Mark the start of list and indention</OL> - is required to signal end of the list and cancel indention and sequencing.<LI> is used for individual list item.Ex.<OL><LI>List item one<LI> List item two
UNORDERED LISTSUNNUMBERED LIST or BULLETED LIST.<UL> ………</UL>ATTRIBUTE:TYPES – changes the bullet used by the list.VALUES: disc(default) - disc bullet circle – circle bullet square - square bullet
UNORDERED LISTSUNNUMBERED LIST or BULLETED LIST.<UL> ………</UL>ATTRIBUTE:TYPES – changes the bullet used by the list.VALUES: disc(default) - disc bullet circle – circle bullet square - square bullet
UNORDERED LISTSExample:<UL TYPE=“square”><LI> List item one<LI> List item two<LI> List item three</UL>
<IMG>• Used to display an image file into your web page.Attributes:SRC (source) = “filename” - Specifies the filename of the imageAlign - “left/center/right”Width – pixelsHeight – pixelsHSPACE – pixels - specifies the horizontal distance of the text beside the image
<IMG>VSPACE – pixels - specifies the vertical distance of the text above or below the image.Alt = “Text” - specifies the alternative text to be displayed if the images was not loaded.Border - displays a border around the image.Ex:<IMG SRC=“bha.jpg” alt=“bha”><IMG SRC=“bha.jpg” width=“100” height=“100”>
ANCHOR TAGS <A> Indicates an anchor for a piece of text or </A> image that serves as the origin of the hyperlink. Example: <A>Hot Spot</A>AttributesHREF (required) – the hyperlinks referenceValue: URL of the destination page. Example: <A HREF=“http:www.msn.com”>MSN</A>
Anchor TagsAdding links to other pagesThis a link to <a href="peter.html">Peters page</a>turn an image into a hypertext link<a href=“home.html"><img src="logo.gif" alt="home page"></a>
Tips in making a Website1. What is your website all about?2. Why are you creating your web site?3. Who is your audience?4. Draw a navigation diagram of your web site.
Tables• Tables are used for information as well as for layout.• Tables are used to display information in columns and rows.There are three t
•<EMBED> - tag is used to include video file in HTML document. Attributes: SRC – identifies the URL of the video file. HEIGHT & WIDTH – specifies the dimension in pixel values.http://www.echoecho.com/htmlforms01.htm
LOOP – determines the number of times the video file should be played Value: FALSE – plays the video file once TRUE – plays the video file infinitelyhttp://www.echoecho.com/htmlforms01.htm
Flash movies (.swf), AVIs (.avi), andMOVs (.mov) file types are supported bythe embed tag..swf files - are the file types created by Macromedias Flash program..wmv files - are Microsofts Windows Media Video file types.
.mov files - are Apples Quick Time Movieformat..mpeg files - set the standard forcompression movie files created by theMoving Pictures Expert Group.The listings above are the most commonlyused formats for the internet. ".mpeg" files andMacromedias .swf files are the most compactand widely used among the internet. Stick toany of the file types above for use with yourweb pages.
•Used to gather information from visitors •Used with client –side language or server-side technology <form> - start of form </form> - end of formhttp://www.echoecho.com/htmlforms01.htm
Tables• Tables are used for information as well as for layout. <table border="1"> <tr><th>Year</th><th>Sales</th></tr> <tr><td>2000</td><td>$18M</td></tr> <tr><td>2001</td><td>$25M</td></tr> <tr><td>2002</td><td>$36M</td></tr> </table><table border="1" cellpadding="10"><table border="1" cellpadding="10" cellspacing="10"><table border="1" cellpadding="10" width="80%">
Create an HTML document containingPHYSICAL TAG as a title and will look like this. WORDSWords have power. Political leaders couldprovoke war or peace because of the words theyspoken to people. Words could feed the mindwith ideas that can make people act to certainthings.
Match the tags in column A with the effects of those tags found in column B. A B1. <I> </I> A. I. T BYTE2. <B> </B> B. HTML C. Bad Habits3. <SUB> </SUB> D. Stars4. <U> </U> HTML E.5. <I><S><B> </B></S></I> F. Love6. <SUP> </SUP> G. PGCHS7. <U><B> </U></B> H. ICT8. <B><I><SUB> </SUB></I></B> I. Stars9. <STRIKE> </STRIKE> J. In a Rush10. <TT> </TT>
ActivitiyCreate an HTML document containing your name Basic Tags as a title. Type the following for the body.Once you know the basic tags you are ready to start with HTML. Basic tags are the tags that should always be present in creating an HTML document. It serves as the foundation in creating a powerful website.
1. It specifies the web address of a file stored on a computer connected to the Internet.2. A program that help you to view or navigate web pages in the internet.3. A large network of computers that are connected to each other by network cables.4. It is a protocol used in the communication between the browser and the web server.5. It tells the name of the owner of the site.6. It is a directory or folder connected to the web that contains a group of related web pages.