Skip to main content

Command Palette

Search for a command to run...

Grade 11 Web Technology Ic

Updated
β€’10 min read

🌐 Unit 6: Web Technology


6.2 Web Browsers and Search Engines

🌍 Web Browser

A web browser is an application software that allows users to access, view, and interact with web pages on the internet.

πŸ”Ή Common Web Browsers

  • Google Chrome

  • Mozilla Firefox

  • Safari

  • Microsoft Edge

  • Opera

🧠 Functions of a Web Browser

  1. Accepts website addresses (URLs).

  2. Requests web pages from servers using HTTP/HTTPS.

  3. Interprets HTML, CSS, and JavaScript code.

  4. Displays the final formatted web page to the user.

πŸ“– Example

When you type https://www.wikipedia.org:

  • The browser sends a request to the Wikipedia server.

  • The server sends back an HTML file.

  • The browser displays the formatted page.


πŸ” Search Engine

A search engine is a web-based tool that helps users find information across the internet.

  • Google

  • Bing

  • Yahoo

  • DuckDuckGo

  • Baidu

βš™οΈ How Search Engines Work

  1. Crawling: Automatically scanning websites for new content.

  2. Indexing: Storing information from websites in a large database.

  3. Ranking: Showing the most relevant results when users search.

🧩 Example

When you search β€œHTML tutorial”:

  • The search engine looks through its index.

  • It shows the most relevant web pages related to HTML tutorials.


6.3 Overview of Various Internet & Web Technologies

TechnologyPurposeExample
HTML (HyperText Markup Language)Defines structure of web pages<h1>Welcome</h1>
CSS (Cascading Style Sheets)Adds design and layout to web pagescolor: blue; background: yellow;
JavaScriptAdds interactivity and dynamic contentForm validation, animations
PHP / Python / Node.jsServer-side programmingLogin, database connection
MySQL / MongoDBDatabase systems to store dataUser accounts, product data
HTTP / HTTPSCommunication protocol between browser and serverRequest/response process
API (Application Programming Interface)Enables data exchange between systemsGoogle Maps API
CMS (Content Management System)Allows easy web content creationWordPress, Joomla

6.4 Content Management System (CMS)

πŸ“˜ Definition

A CMS is a software that helps users create, edit, and manage website content without needing to code.

  • WordPress (most popular)

  • Joomla

  • Drupal

  • Wix

βš™οΈ Key Features

  1. Easy content creation using text editors

  2. User management (Admin, Editor, Viewer)

  3. Themes and templates for design

  4. Plugins for extra functionality

  5. Media management (images, videos, audio)

🧠 Example

A blogger can publish posts using WordPress dashboard without writing HTML manually.


6.4 HTML: The Language of the Web

6.4.1 Objectives

  • Understand HTML syntax and structure.

  • Create and format simple web pages.

  • Use tags and attributes properly.

  • Add headings, paragraphs, lists, and links.


6.4.2 Structure of HTML

Every HTML document has three main parts:

<!DOCTYPE html>
<html>
  <head>
    <title>My First Web Page</title>
  </head>
  <body>
    <h1>Welcome to HTML</h1>
    <p>This is my first paragraph.</p>
  </body>
</html>

🧱 Explanation:

  • <!DOCTYPE html> β†’ Defines document type.

  • <html> β†’ Root element of the web page.

  • <head> β†’ Contains metadata, title, and links to CSS/JS.

  • <title> β†’ Title shown in browser tab.

  • <body> β†’ Visible page content.


6.4.3 Publishing and Hosting

TermDescription
PublishingUploading your website to the internet so others can access it.
HostingA service that stores your website files on a web server.

🧩 Examples of Hosting Services:

  • GitHub Pages

  • Netlify

  • Hostinger

  • InfinityFree

🧠 Steps to Publish a Website

  1. Design your web pages in HTML/CSS.

  2. Buy a domain name (like example.com).

  3. Choose a hosting service.

  4. Upload your files (using FTP or control panel).

  5. Access it online through the domain.


6.4.4 HTML Tags vs Attributes

TagsAttributes
Define elements or structure in HTMLProvide extra information about a tag
Always enclosed in < >Written inside opening tag
Example: <p>Example: <img src="photo.jpg" alt="image">

🧠 Example:

<img src="logo.png" alt="Company Logo" width="100" height="80">
  • Tag: <img>

  • Attributes: src, alt, width, height


6.4.5 Basic Tags of HTML

πŸ“˜ Example:

<html>
<head>
  <title>Basic Tags Example</title>
</head>
<body bgcolor="lightblue" text="black" background="bg.jpg">
  <h1>Welcome</h1>
  <p>This is my first HTML page!</p>
</body>
</html>

🧩 Explanation

  • bgcolor β†’ sets background color.

  • text β†’ sets text color.

  • background β†’ sets an image as background.


🎡 Adding Background Sound (Old HTML Feature)

<bgsound src="music.mp3" loop="infinite">

⚠️ Note: Not supported in modern browsers; use HTML5 <audio> tag instead.

<audio src="music.mp3" autoplay loop></audio>

6.4.6 Heading Tag (H1 to H6)

Headings define the titles and subheadings of a page.

<h1 align="center">Main Heading</h1>
<h2>Sub Heading</h2>
<h3>Minor Heading</h3>
<h4> Normal Heading 4</h4>
<h5> Smaller Heading 5</h5>
<h6> Smallest Heading</h6>

πŸ”Ή Details:

  • <h1> is the largest heading.

  • <h6> is the smallest heading.

  • align attribute can be: left, center, right. (its left by default)


6.4.7 FONT Tag and Attributes

The <font> tag defines the appearance of text.
(Deprecated in HTML5 β€” replaced by CSS β€” but still taught for understanding.)

🧩 Example:

<font size="5" color="red" face="Arial">This is large red text.</font>
<basefont size="3">
<small>Small text</small>
<big>Big text</big>

πŸ”Ή Attributes:

AttributeDescriptionExample
sizeText size (1–7)<font size="4">Text</font>
colorText color<font color="blue">Text</font>
faceFont type<font face="Verdana">Text</font>
basefontDefines default text size<basefont size="3">
small/bigMakes text smaller or bigger<small>small</small> <big>big</big>

βœ… Summary of Key Points

  • Web browsers display HTML pages; search engines help find them.

  • Internet technologies include HTML, CSS, JavaScript, and backend tools.

  • CMS simplifies web management without coding.

  • HTML provides structure using tags and attributes.

  • Basic tags define headings, paragraphs, and background.

  • <font> tag adjusts text appearance (use CSS instead in modern web).


6.4.8 Paragraph Formatting (<p>)

πŸ“˜ Definition

The <p> tag is used to define paragraphs of text in HTML.
Browsers automatically add a blank line (margin) before and after each paragraph.

🧩 Example

<p>This is the first paragraph.</p>
<p>This is the second paragraph. It will appear below the first one.</p>

πŸ”Ή Attributes

AttributeDescriptionExample
alignAligns text within paragraph<p align="center">Centered text</p>

πŸ’‘ Note:

Avoid using multiple <br> for spacing β€” use <p> tags instead for proper formatting.


6.4.9 Break Line (<br>)

πŸ“˜ Definition

The <br> tag inserts a line break (new line) without starting a new paragraph.

🧩 Example

<p>Hello<br>World!</p>
<p>Line 1<br>Line 2<br>Line 3</p>

πŸ’‘ <br> is an empty tag, meaning it has no closing tag.


6.4.10 Comment in HTML

πŸ“˜ Definition

Comments are used to add notes or explanations inside HTML code.
They are not displayed in the web page output.

🧩 Syntax

<!-- This is a comment -->
<p>This will be displayed.</p>
<!-- <p>This will not be displayed.</p> -->

πŸ’‘ Use:

  • To explain sections of code

  • To temporarily hide code during testing


6.4.11 Formatting Text

HTML provides various tags for text formatting, making it bold, italic, underlined, etc.

TagMeaning / FunctionExample
<b>Bold text<b>Bold</b>
<i>Italic text<i>Italic</i>
<u>Underlined text<u>Underlined</u>
<mark>Highlighted text<mark>Important</mark>
<sup>Superscript (above)x<sup>2</sup>
<sub>Subscript (below)H<sub>2</sub>O
<em>Emphasized (italic by default)<em>Emphasized</em>
<blockquote>Quotation block<blockquote>Quote text</blockquote>
<pre>Preformatted text (keeps spaces and lines)<pre>Line 1 Line 2</pre>

🧩 Example

<p>This is <b>bold</b> and <i>italic</i> text.</p>
<p>H<sub>2</sub>O is the formula for water.</p>
<blockquote>"The best way to predict the future is to create it."</blockquote>
<pre>
This text
   keeps its spacing
and line breaks.
</pre>

OUTPUT:

6.4.12 Ordered List (<ol>)

πŸ“˜ Definition

An ordered list displays items in a specific order β€” numbered, lettered, or Roman numerals.

🧩 Example

<ol>
  <li>HTML</li>
  <li>CSS</li>
  <li>JavaScript</li>
</ol>

πŸ”Ή Attributes of <ol>

AttributeDescriptionExample
typeDefines numbering type<ol type="A">
startStarting number or letter<ol start="5">
valueSpecifies value of a particular list item<li value="10">Item</li>

πŸ”Έ List Type Options

TypeResult Example
11, 2, 3
AA, B, C
aa, b, c
II, II, III
ii, ii, iii

🧩 Example

<ol type="I" start="3">
  <li>Introduction</li>
  <li>Body</li>
  <li>Conclusion</li>
</ol>


6.4.13 Unordered List (<ul>) and Definition List (<dl>)

πŸ“˜ Unordered List

Displays items without order, usually with bullet points.

🧩 Example

<ul type="circle">
  <li>Apple</li>
  <li>Banana</li>
  <li>Cherry</li>
</ul>

πŸ”Ή Bullet Types

TypeSymbol
disc●
circleβ—‹
squareβ– 

πŸ“˜ Definition List

Used for terms and their definitions (like in dictionaries).

🧩 Example

<dl>
  <dt>HTML</dt>
  <dd>HyperText Markup Language</dd>
  <dt>CSS</dt>
  <dd>Cascading Style Sheets</dd>
</dl>

TagMeaning
<dl>Definition List container
<dt>Definition Term
<dd>Definition Description

6.4.14 ADDRESS Tag

πŸ“˜ Definition

The <address> tag defines contact information for the author or owner of a web page.

🧩 Example

<address>
Written by <b>Aarav Poudel</b><br>
Visit us at: <a href="https://www.example.com">www.example.com</a><br>
Email: <a href="mailto:info@example.com">info@example.com</a><br>
Location: Dharan, Sunsari, Nepal
</address>

πŸ’‘ Displayed in italic font by default.


πŸ“˜ Definition

The <a> tag (anchor tag) creates hyperlinks that connect to other pages or sections.

πŸ”Ή Syntax

<a href="URL">Link Text</a>

This will open the html document named about.html

<a href="about.html">About Us</a>

This will open the Website of google. (β€œhttps://www.google.com”)

<a href="https://www.google.com">Visit Google</a>

This will open the link in a new tab

<a href="https://example.com" target="_blank">Open in New Tab</a>

when we click β€œGo to Contact Section , the window will move to show the html element that had id=”contact” attribute i.e Contact Us

<a href="#contact">Go to Contact Section</a>

<h2 id="contact">Contact Us</h2>
<p>Here are our contact details.</p>

On clicking Send Email , it will open the Gmail, or other Email Client Application to allow us to send email on the given address.

<a href="mailto:info@example.com">Send Email</a>

It will open a dialer on mobile phone to allow us to call the given phone number

<a href="tel:+9779812345678">Call Us</a>

βœ… Summary:

ConceptDescriptionExample
ParagraphCreates text block<p>Text</p>
Break lineNew line<br>
CommentHidden note<!-- note -->
FormattingStyle text<b>, <i>, <u> etc.
Ordered ListNumbered list<ol><li></li></ol>
Unordered ListBulleted list<ul><li></li></ul>
Definition ListTerms & definitions<dl><dt></dt><dd></dd></dl>
AddressAuthor’s info<address>...</address>
LinkCreates hyperlink<a href="...">Link</a>

More from this blog

Aarav's Blogs

19 posts