Web Design: Internet vs WWW, Servers & Clients

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following statements accurately describes the relationship between the Internet and the World Wide Web (WWW)?

  • The Internet and the WWW are the same thing and the terms can be used interchangeably in all contexts.
  • The World Wide Web is a collection of software that spans the Internet and enables the interlinking of documents and resources. (correct)
  • The Internet provides a way of accessing information on the WWW.
  • The Internet is a collection of software that enables the interlinking of documents and resources, while the WWW is a vast network of computers and physical connections.

In the context of web development, what is the primary role of a web server?

  • To manage the client-side interactions of a website.
  • To display webpages to users.
  • To send files to browsers on computers connected to the Internet. (correct)
  • To send requests for web pages.

What is the main function of HTTP (HyperText Transfer Protocol) in web communication?

  • To define the visual layout of a webpage.
  • To handle the request sent to the Web server and the response received from the Web server. (correct)
  • To establish a secure connection between a client and a server.
  • To manage the database interactions on a server.

Which of the following best describes a URL (Uniform Resource Locator)?

<p>A unique identifier for a resource on the Internet, specifying its location and how to access it. (A)</p> Signup and view all the answers

How does a domain name relate to an IP address?

<p>A domain name is a human-readable alias for an IP address, making it easier for users to access websites. (C)</p> Signup and view all the answers

In the context of a URL like https://cloudflare.com/learning/, which part represents the domain name?

<p><code>cloudflare.com</code> (C)</p> Signup and view all the answers

What does the term 'network topology' refer to?

<p>The physical and logical arrangement of nodes and connections in a network. (D)</p> Signup and view all the answers

Which of the following is the correct full name for HTML?

<p>HyperText Markup Language (A)</p> Signup and view all the answers

What is the primary function of HTML tags?

<p>To specify the structure of a document, such as headings and paragraphs. (B)</p> Signup and view all the answers

Which of the following is an example of a correctly formatted closing tag in HTML?

</p> (C) Signup and view all the answers

What is the purpose of a self-closing tag in HTML?

<p>To represent an element that does not contain any content and can be closed within the opening tag. (B)</p> Signup and view all the answers

Which three HTML tags are considered essential and should be present in every HTML document?

<p><code>&lt;html&gt;</code>, <code>&lt;head&gt;</code>, <code>&lt;body&gt;</code> (D)</p> Signup and view all the answers

Which HTML tag is used to display a name for the webpage that appears in the top of the browser window?

<p><code>&lt;title&gt;</code> (C)</p> Signup and view all the answers

In a basic HTML template, which tag typically contains content that is visible to the user in the browser?

<p><code>&lt;body&gt;</code> (D)</p> Signup and view all the answers

What is the purpose of the <p> tag in HTML?

<p>To create a paragraph. (A)</p> Signup and view all the answers

Which HTML tag is used to insert a line break within a text?

<p><code>&lt;br /&gt;</code> (A)</p> Signup and view all the answers

What is the function of the <hr /> tag in HTML?

<p>It separates sections with a horizontal rule. (C)</p> Signup and view all the answers

Which HTML tags are used to define headings of different sizes?

<p><code>&lt;h1&gt;</code>, <code>&lt;h2&gt;</code>, <code>&lt;h3&gt;</code>, <code>&lt;h4&gt;</code>, <code>&lt;h5&gt;</code>, <code>&lt;h6&gt;</code> (B)</p> Signup and view all the answers

How do you insert a comment in HTML code?

<!-- This is a comment --> (C) Signup and view all the answers

What is the primary difference between an ordered list (<ol>) and an unordered list (<ul>) in HTML?

<p>Ordered lists display items with numbers or letters, while unordered lists use bullet points. (C)</p> Signup and view all the answers

Which HTML tag is used to insert an image into a webpage?

<p><code>&lt;img /&gt;</code> (D)</p> Signup and view all the answers

Which tag is used to create a hyperlink in HTML?

<p><code>&lt;a&gt;</code> (D)</p> Signup and view all the answers

Given the URL https://www.example.com/path/page.html, identify the protocol.

<p>https (B)</p> Signup and view all the answers

Which of the following is true about HTML tags?

<p>Most HTML tags work in pairs, with an opening and closing tag. (D)</p> Signup and view all the answers

A client requests a webpage from a web server. What is the correct sequence of actions?

<p>The client sends a request to the server, and then the server sends a response to the client. (D)</p> Signup and view all the answers

Which of the following tags is used to define metadata about an HTML document?

<p><code>&lt;head&gt;</code> (D)</p> Signup and view all the answers

When should you use an unordered list (<ul>) instead of an ordered list (<ol>)?

<p>When the order of the list items is not important. (A)</p> Signup and view all the answers

Which code snippet correctly inserts a comment in HTML?

<p><code>&lt;!-- This is a comment --&gt;</code> (D)</p> Signup and view all the answers

Which of the following is a valid use of the <br /> tag?

<p>To insert a line break within a paragraph. (B)</p> Signup and view all the answers

How does the <h1> tag differ from the <h6> tag in HTML?

<p><code>&lt;h1&gt;</code> is used for the main heading, while <code>&lt;h6&gt;</code> is used for the smallest heading. (B)</p> Signup and view all the answers

In HTML, what is the correct way to define a hyperlink to https://www.example.com with the text 'Visit Example'?

<p><code>&lt;a href=&quot;https://www.example.com&quot;&gt;Visit Example&lt;/a&gt;</code> (A)</p> Signup and view all the answers

What is the role of the <!DOCTYPE html> declaration in an HTML document?

<p>It specifies the version of HTML being used, ensuring the browser renders the page correctly. (C)</p> Signup and view all the answers

What is meant by Web Terminology?

<p>Terms referring to web development (B)</p> Signup and view all the answers

What is the web browser described as?

<p>Client (B)</p> Signup and view all the answers

Which of these is most accurate regarding the Web?

<p>The Web provides a way of accessing information on the Internet (A)</p> Signup and view all the answers

Which of these are included as part of 'Web Terminology'?

<p>All of the above (D)</p> Signup and view all the answers

If the domain name for Google is google.com, what is the full URL for google?

<p><a href="http://google.com">http://google.com</a> (C)</p> Signup and view all the answers

Which tag is used for comments in HTML?

<p><code>&lt;! -- comment --&gt;</code> (D)</p> Signup and view all the answers

Which of these is an HTML tag?

<p> (C) Signup and view all the answers

Which tag is used to add a horizontal line?

<p><code>hr</code> (D)</p> Signup and view all the answers

Flashcards

The Internet

A vast, international network of computers and physical connections allowing communication.

World Wide Web (WWW)

A collection of software that spans the Internet, enabling document and resource interlinking.

Web server

A computer programmed to send files to browsers over the Internet.

Web browser

Software, such as Firefox, that requests and displays web pages.

Signup and view all the flashcards

HTTP (HyperText Transfer Protocol)

A protocol that enables computers on the WWW to communicate, handling requests and responses.

Signup and view all the flashcards

URL

Stands for Uniform Resource Locator, it is the address of a Web page.

Signup and view all the flashcards

Domain name

Text string mapping to an IP address, making websites accessible.

Signup and view all the flashcards

Network topology

Physical/logical arrangement of nodes and connections in a network.

Signup and view all the flashcards

HTML

Stands for HyperText Markup Language, it's used to create web pages with tags.

Signup and view all the flashcards

HTML tags

Tags that specify structure of document (heading, and paragraph.)

Signup and view all the flashcards

tag

A paired tag that displays text as a paragraph.

Signup and view all the flashcards


tag

Displays a line break.

Signup and view all the flashcards

Required HTML tags

Adds required info: html, head and body.

Signup and view all the flashcards

...

Creates a paragraph.

Signup and view all the flashcards


Adds a line break.

Signup and view all the flashcards


Separates sections with a horizontal line.

Signup and view all the flashcards

...

Displays a heading.

Signup and view all the flashcards

Inserts a comment.

Signup and view all the flashcards

    ...

Creates an ordered list.

Signup and view all the flashcards

    ...

Creates an unordered list.

Signup and view all the flashcards

Inserts an image into the document.

Signup and view all the flashcards

...

Inserts a link into the document.

Signup and view all the flashcards

Study Notes

  • Introduction to Web Design

Internet vs WWW

  • Although often used interchangeably, the terms "Internet" and "World Wide Web" (WWW) have distinct meanings.
  • The Internet refers to the vast international network of interconnected computers and the infrastructure for communication (wires, routers).
  • The World Wide Web (WWW), often called "the Web," is a collection of software programs that operate over the Internet, enabling the linking of documents and resources.
  • WWW provides a means to access information available on the internet.
  • For history, check: http://en.wikipedia.org/wiki/Internet

Web Servers and Clients

  • A Web server refers to a computer that is programmed to send files to browsers on devices connected to the Internet.
  • Web browsers, like Firefox or Internet Explorer, function as clients that requests a web page from a web server.
  • The web server then responds with the requested page that will display on the browser.

HTTP (HyperText Transfer Protocol)

  • HTTP enables computers on the WWW to communication.
  • HTTP also handles the exchange of "request" and "response" between Web server and clients

URLs (Uniform Resource Locators)

  • URL, also called a webpage address, stands for Uniform Resource Locator.
  • URLs are typically entered into a web browser's location bar to view a specific web page.
  • A URL consists of the "protocol needed to communicate with the Web server" and the "Name of the Web server"
  • Example: http://www.umbc.edu

Domain Names

  • A domain name is a textual string that corresponds to a numerical IP address, which is used to access websites via client software.
  • A domain name is user-friendly text a user can type into a browser to navigate to a specific website.
  • Example: google.com is the domain name that represents Google
  • A URL contains the domain name, the protocol and the path

Network Topology

  • Network topology refers to the physical as well as logical arrangement of nodes and connections within a network.
  • Nodes in a network consist of devices such as switches, routers, and related software features.
  • Network topologies are often graphically represented.

HTML (HyperText Markup Language)

  • HTML is a markup language used to create web pages.
  • It is made up of tags that define the structure of the document, such as headings, paragraphs, etc.
  • HTML sample document:
<html>
 <head>
  <title>Bob’s Web page</title>
 </head>
 <body>
  <h1>This is my first Web page</h1>
 </body>
</html>

HTML Tags

  • Opening and closing tags are used in pairs for most HTML tags.
  • Example: <p>Some content here.</p>
  • The <p>...</p> tag is used to display a paragraph
  • The <p> tag opens a paragraph
  • The </p> tag closes a paragraph
  • The text "Some content here.” will be displayed on the page

Self-Closing HMTL Tags

  • Some HTML tags are self closing
  • Example: <br />
  • The <br /> tag displays a line break

Required Tags

  • An HTML document must contain html, head, and body tags along with the DOCTYPE identifier.
  • !DOCTYPE tells browsers the standards the page adheres to.
  • <html>...</html> surrounds all the contents of the webpage.
  • <head>...</head> specifies identifying information of the page like its title.
  • <title>...</title> names the page in the browser window's top bar
  • <body>...</body> encloses the actual page content to be displayed in the browser.

Basic HMTL Template

<!DOCTYPE html>
<html>
 <head>
  <title>CMSC104 HTML Template</title>
 </head>
 <body>
  This is just a basic HTML template to be used in CMSC104.
 </body>
</html>

Common HTML Tags and Meanings

  • <p>...</p> creates a paragraph.
  • <br /> adds a line break.
  • <hr /> separates sections using a horizontal rule.
  • <h1>...</h1> displays a heading (h1 to h6).
  • <!--...--> inserts a comment.
  • <ol>...</ol> creates an ordered list.
  • <ul>...</ul> creates an unordered list.
  • <img /> inserts an image into the document.
  • <a>...</a> inserts a link into the document.

Paragraph Example

<p>
 The exam next week will consist of T/F,
 multiple choice, short answer and pseudocode
 questions. You cannot use a calculator.
</p>
<p>
 After the exam, we will learn JavaScript.
 It should be fun!!
</p>

Line Break Example

<p>
 Roses are Red. <br />
 Violets are Blue. <br />
 You should study for Exam 1. <br />
 It will be good for you!
</p>

Horizontal Rule Example

<p>
 The exam next week will consist of T/F,
 multiple choice, short answer and
 pseudocode questions. You cannot use a
 calculator.
</p>
<hr />
<p>
 After the exam, we will learn JavaScript.
 It should be fun!!
</p>

Heading Example

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

Comment Example

<!-- This is just some sample html
to illustrate the use of a
comment -->
<p>
Here is my paragraph.
</p>
<!-- Here is another comment -->

Ordered List Example

<ol>
 <li>Print Review Questions for Exam 1.</li>
 <li>Work on Review Questions for Exam
 1.</li>
</ol>

Unordered List Example

<ul>
 <li>country music</li>
 <li>monday mornings</li>
 <li>brussels sprouts</li>
</ul>

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Internet and WWW Overview
9 questions

Internet and WWW Overview

LuckierSugilite5135 avatar
LuckierSugilite5135
Use Quizgecko on...
Browser
Browser