Announcements Final Course Survey Thursday: Quiz-11 Today:

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
Project 1A—Bogus Web site Misinformation abounds on the Web 5/3/ Copyright 2009, D.A. Clements, MLIS, UW Information School.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Chapter 5 Searching for Truth: Locating Information on the WWW.
Creating Web Pages Getting Started. Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking.
Marking Up With Html: A Hypertext Markup Language Primer
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Slide 1 Today you will: think about criteria for judging a website understand that an effective website will match the needs and interests of users use.
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
3.02 The Information Superhighway
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Chapter 5 Searching for Truth: Locating Information on the WWW.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Exploring Web Page Design. What is a Web Page?  A web page is a multimedia file which can be stored on a web server.  It can include text, graphics,
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Placing Relative Links A link in file page.html refers to a referenced file ref.html by relative link: link page.htmlref.html "ref.html" "folder/ref.html"
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Web Searching Basics Dr. Dania Bilal IS 530 Fall 2009.
WHAT IS A SEARCH ENGINE A search engine is not a physical engine, instead its an electronic code or a software programme that searches and indexes millions.
Just Enough HTML How to Create Basic HTML Documents.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004.
HyperText Markup Language. Web Hosting Creating a web site (on a site like iPage) –Buy domain name ( –iPage has registrar (e.g., FastDomain.
The World Wide Web. What is the worldwide web? The content of the worldwide web is held on individual pages which are gathered together to form websites.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
ADVANCED COMPUTERS S.Y.B.M.M. LECTURE SERIES - PART 1 - KANISHKA KHATRI m.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Computer Basics Introduction CIS 109 Columbia College.
1 Chapter 5 (3 rd ed) Your library is an excellent resource tool. Your library is an excellent resource tool.
Basic Web Design UVI CELL Dave Gilliss Dave Gilliss
Online PD Basic HTML The Magic Of Web Pages
HTML Simple Introduction
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to basic HTML
Uppingham Community College
Locating the right information on the WWW requires effort
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Placing Relative Links
Introduction to web design discussing which languages is used for website designing
A guide to HTML.
HTML.
Objective % Explain concepts used to create websites.
Searching for Information
Basic HTML and Embed Codes
Lesson Objectives Aims You should know about: – Web Technologies
Searching for Truth: Locating Information on the WWW
Announcements Survey … no really, you will be polled
Chapter 16 The World Wide Web.
Using the Power of XML Personally
Searching for Truth: Locating Information on the WWW
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Document Structure & HTML
Searching for Truth: Locating Information on the WWW
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Presentation transcript:

Announcements Final Course Survey Thursday: Quiz-11 Today: UW1 Room 080 Thursday: Due FINAL PROJECT!! Final Review Demo of other CSS classes Quiz-11 Today: Encryption?! Let’s pretend we are spies … Search + Tag (we have seen this!) 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Locating the right information on the WWW requires effort Searching the WWW Locating the right information on the WWW requires effort Kelvin Sung University of Washington, Bothell (* Use/Modification with permission based on Larry Snyder’s CSE120 from Winter 2011)

Looking In the Right Place Google is not necessarily the first place to look! Go directly to a Web site -- www.irs.gov Go to your bookmarks -- dictionary.cambridge.org Go to the library -- www.lib.washington.edu Go to the place with the information you want -- www.npr.org Ask, “What site provides this information?” Guessing a site’s URL is often very easy, making it a fast way to find information 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Google Advanced – Use It! 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Caution! In the next few slides, the general principles of keyword search are discussed … Google and Bing “adjust” the results somewhat 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Boolean Queries Search Engine words are independent Words don’t have to occur together Use Boolean queries and quotes Logical Operators: AND, OR, NOT monet AND water AND lilies “van gogh” OR gauguin vermeer AND girl AND NOT pearl Search for  Mona Lisa 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Queries In Advanced Search Searching strategies … Limit by top level domains or format … .edu Find terms most specific to topic … ibuprofen Look elsewhere for candidate words, e.g. bio Use exact phrase only if universal, … “Play it again” If too many hits, re-query … let the computer work “Search within results” using “-” … to get rid of junk 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Queries, continued Once found, ask if site is best source How authoritative is it? Can you believe it? How crucial is it that the information be true? Cancer cure for Grandma Hikes around Seattle Party game 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Search Engines No one controls what’s published on the WWW ... it is totally decentralized To find out, search engines crawl Web Two parts Crawler visits Web pages building an index of the content (stored in a database) Query processor checks user requests against the index, reports on known pages [You use this!] We’ll see how these work momentarily Only a fraction of the Web’s content is crawled 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

HTML and the Web As you know, the Web uses http:// protocol It’s asking for a Web page, which usually means a page expressed in hyper-text markup language, or HTML Hyper-text refers to text containing links that allow you to leave the linear stream of text, see something else, and return to the place you left Markup language is a notation to describe how a published document is supposed to look: fonts, text color, headings, images, etc. etc. etc. 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Three Slides: Basics of HTML 1 Rule 0: Content is given directly; anything that is not content is given inside of tags Rule 1: Tags made of < and > and used this way: Attribute&Value <p style="color:red">This is paragraph.</p> Start Content End Tag Tag It produces: This is paragraph. Rule 2: Tags must be paired or “self terminated” 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Example Write HTML in text editor: notepad++ or TextWrangler The file extension is .html; show it in Firefox or your browser 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Three Slides: Basics of HTML 2 Rule 3: An HTML file has this structure: <html> <head><title>Name of Page</title></head> Actual HTML page description goes here </html> Rule 4: Tags must be properly nested Rule 5: White space is mostly ignored Rule 6: Attributes (width=200) preceded by space, name not quoted, value quoted 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Three Sides: Basics of HTML 3 To put in an image (.gif, .jpg, .png), use 1 tag <img src=“MyPhoto.jpg" width=200 /> Tag Image Source Size End To put in a link, use 2 tags <a href=“./MyPrincipal.docx">What I value</a> the link Anchor More on HTML (including good tutorials) at http://www.w3schools.com/html/default.asp 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Return To Search Engines How to crawl the Web: Begin with some Web sites, entered “manually” Select page not yet crawled; look at its HTML For each keyword, associate it with this page’s URL as in http://.../bcusp110/ExerciseAndAssignments/Exercise8/PersonalWebPage/ : personal http://.../bcusp110/ExerciseAndAssignments/Exercise8/PersonalWebPage/ : value Harvest words from URL and inside <title> tags … For every link tag on the page, associate the URL with the words inside of the anchor text, that is, http://.../bcusp110/ExerciseAndAssignments/Exercise8/PersonalWebPage/MyPrincipals.docx : value Save all links and add to list to be crawled 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Net Result From Crawling A Page After crawling a page like http://depts.washington.edu/bcusp110/ExerciseAndAssignments/Exercise6_Functions.html the crawler will associate many terms with the URL: Exercise, Step, HTML, Server, … as well as “source code” [from anchor] and bcusp110 [from URL] Terms from URL and anchor are more important in describing the page 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Net Result of Crawling All Pages When the crawling is “done” (it’s never done), the result is an index, a special data structure that a query processor can use to look up your queries: Soruce: …, http://depts.washington.edu/bcusp110/ExerciseAndAssignments/Exercise6_Functions.html, … Code: …, http://depts.washington.edu/bcusp110/ExerciseAndAssignments/Exercise6_Functions.html, … 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Make A Query When Google gets the query It “ands” the two lists together, finding URLs that are on both lists It counts them up, records time, shows 10 hits 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Houston, We Have A Problem You want the most likely hits … how does Google show you what you want? Page Rank – a mechanism to estimate the “importance” of a page; pages are listed by page rank, highest to lowest 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Page Rank Google has never revealed all details of the ranking algorithm, but we know … URL’s are ranked higher for words that occur in the URL and in anchors URL’s get ranked higher if more pages point to them, it’s like: A links to B is a vote by A for B URL’s get ranked higher if the pages that point to them are ranked higher We Are Top 3  4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)

Search Engines … A Summary A search engine has two parts Crawler, to index the data Query Processor, to answer queries based on index In the case of many hits, a query processor must rank the results; page rank does that by “using data differentially ” … not all associations are equivalent; anchors and file names count more “noting relationship of pages” … a page is more important if important pages link to it Google, Bing, Yahoo and other Search Engines Use All of These Ideas 4/4/2019 Kelvin Sung (Use/Modify with permission from © 2010-2012 Larry Snyder, CSE)