Chapter at a glance
This chapter covers the fundamentals of web technology, including HTML, CSS, web browsers, search engines, and content management systems. It also introduces students to the basics of creating web pages, styling with CSS, and understanding the client-server model. The chapter provides a comprehensive overview of web development concepts and technologies.
- HTML
- CSS
- Web Browsers
- Search Engines
- Content Management Systems
- Client-Server Model
- Web Page Creation
- Styling with CSS
Exam focus: Students should focus on understanding the basics of HTML and CSS, including syntax, selectors, and properties, as well as the client-server model and how web browsers and search engines work.
Key formulas and definitions
- HTML Syntax
- CSS Selectors
- Box Model
- CSS Properties (color, font-size, etc.)
- HTTP/HTTPS Protocol
On this page (26 sections)
- a. Define web browser and search engine.
- b. What is WWW? How is a web page transferred from server to client?
- c. What is CMS? Write the advantages of CMS.
- d. What is HTML? Write its advantages and disadvantages.
- e. Difference between container tag and empty tag with examples.
- f. Describe the basic tags of HTML.
- g. What is a hyperlink? Describe different hyperlinks in HTML.
- h. What is a Cascading Style Sheet? Mention its advantages.
- i. What are the different types of style sheet? Explain them.
- j. Methods for applying external style sheet in HTML.
- k. Document-Wide Style Sheet — type, inclusion, and example.
- l. Inline Style Sheet — explanation and example.
- m. Uses of <SPAN> tag and <DIV> tag.
- n. Uses of ID and CLASS attributes in style sheets.
- o. Use of Text Property — list any three.
- p. Use of Font Property — list any three.
- q. Use of Border Style Property — list any three types.
- Q2. HTML document describing the natural beauty of Nepal
- Q3. Web page of an organization
- Q4. External style sheet applied to <P>, <BODY>, and <H1> tags
- Q5. HTML document using Document-Wide style sheet
- Q6. HTML document using Inline style sheet
- Activity 1: Home page on 'Tourism in Nepal' with links to five related pages
- Activity 2: Web page on 'Information Entry Form'
- Activity 3: Website model of your campus
- Activity 4: Visit ISP in Nepal — Web Hosting Information
Solutions and answers
Complete solution guide for Innovative Computer Science, Grade 11 — covering web fundamentals, HTML tags & document creation, hyperlinks, CSS styling (inline, document-wide, external), and practical web-page exercises.
<HR> (horizontal rule) and <BR> (line break) are empty (self-closing) tags — they do not wrap content and have no closing tag. <SCR> is not a valid HTML tag (the script tag is <SCRIPT>). Since both i) and ii) are empty tags, and the question requires choosing one correct option, <HR> is listed first and is correct. (Note: <BR> is also an empty tag.)
<H1> through <H6>. <H1> is the largest and most important (typically used for the main page title), while <H6> is the smallest. Each heading is rendered with decreasing font size by default.
a. Define web browser and search engine.
Web Browser:
- A web browser is an application software used to access, retrieve, and display web pages from the World Wide Web.
- It sends HTTP/HTTPS requests to web servers and renders the received HTML, CSS, and JavaScript into the visual pages users see.
- Examples: Google Chrome, Mozilla Firefox, Microsoft Edge, Safari, Opera, Brave.
Search Engine:
- A search engine is a web-based software system designed to search, index, and retrieve information from the vast collection of web pages on the Internet.
- Users type a query (keywords), and the search engine returns a ranked list of relevant web pages.
- It works in three stages: crawling (visiting web pages), indexing (storing page data), and ranking (ordering results by relevance).
- Examples: Google, Bing, Yahoo, DuckDuckGo, Baidu.
b. What is WWW? How is a web page transferred from server to client?
WWW (World Wide Web):
- The World Wide Web is an information system of interlinked hypertext documents and resources, accessed via the Internet.
- It was invented by Tim Berners-Lee in 1989 at CERN.
- Web pages are written in HTML, linked by hyperlinks (URLs), and transferred using the HTTP/HTTPS protocol.
How a web page is transferred (Client-Server Model):
- Step 1: The user types a URL (e.g., www.example.com) into the browser's address bar.
- Step 2: The browser performs a DNS lookup to convert the domain name into the server's IP address.
- Step 3: The browser establishes a TCP connection with the web server (and TLS handshake for HTTPS).
- Step 4: The browser sends an HTTP GET request to the server for the requested resource.
- Step 5: The web server processes the request, retrieves the HTML file (and any associated CSS, JS, images), and sends them back as an HTTP response (status code 200 OK).
- Step 6: The browser renders the received HTML, applies CSS styles, executes JavaScript, and displays the final web page to the user.
c. What is CMS? Write the advantages of CMS.
CMS (Content Management System):
- A CMS is a software application that allows users to create, manage, edit, organise, and publish digital content on the web — without requiring technical knowledge of programming or web development.
- Examples: WordPress, Joomla, Drupal, Magento (e-commerce), Blogger.
Advantages of CMS:
- Ease of use: Non-technical users can build and update websites through intuitive graphical interfaces (WYSIWYG editors).
- Multiple user collaboration: Different users (authors, editors, admins) can work on the same site with assigned roles and permissions.
- Ready-made templates/themes: Thousands of free and premium designs are available, reducing design time and cost.
- Plugin/extension ecosystem: Functionality can be extended (SEO tools, contact forms, galleries, e-commerce) without writing code.
- SEO-friendly: Many CMS platforms are optimised for search engines out of the box.
- Cost-effective: Most popular CMS platforms (WordPress, Joomla) are free and open-source.
- Content scheduling: Posts and pages can be scheduled for future publication.
- Centralised content management: All content is stored in a database, making backups, updates, and migrations straightforward.
d. What is HTML? Write its advantages and disadvantages.
HTML (HyperText Markup Language):
- HTML is the standard markup language for creating and structuring content on the World Wide Web.
- It uses a system of tags (enclosed in angle brackets
< >) to define elements such as headings, paragraphs, links, images, tables, forms, etc. - HTML was created by Tim Berners-Lee in 1991. The current version is HTML5.
- HTML is not a programming language — it is a markup language that describes the structure and semantics of web content.
- Easy to learn and use — simple tag-based syntax.
- Platform-independent — runs on any OS with a browser.
- Free and open — no licensing cost; supported by all browsers.
- Lightweight — small file sizes, fast loading.
- Integration — easily combined with CSS and JavaScript.
- Search-engine friendly — semantic tags improve SEO.
- Large community — extensive documentation and support.
- Static pages only — cannot create dynamic content alone (needs JS/server-side language).
- No built-in security — HTML code is visible to anyone (View Source).
- Limited debugging — browsers may render broken HTML silently.
- Browser inconsistencies — different browsers may render pages slightly differently.
- Verbose — complex pages require large amounts of repetitive code.
- No logic/computation — cannot process data, validate forms, or handle events.
e. Difference between container tag and empty tag with examples.
| Aspect | Container Tag (Paired Tag) | Empty Tag (Self-Closing Tag) |
|---|---|---|
| Structure | Has an opening tag and a closing tag. | Has only one tag; no closing tag needed. |
| Syntax | <tag>content</tag> | <tag /> or <tag> |
| Content | Wraps content (text, other elements) between opening and closing tags. | Does not wrap any content; stands alone. |
| Also called | Paired tag, non-void element | Unpaired tag, void element, singleton tag |
| Examples | <p>…</p>, <h1>…</h1>, <b>…</b>, <div>…</div>, <a>…</a> | <br>, <hr>, <img>, <input>, <meta>, <link> |
f. Describe the basic tags of HTML.
The following are the fundamental HTML tags that form the skeleton of every HTML document:
| Tag | Purpose | Type | Example |
|---|---|---|---|
<!DOCTYPE html> | Declares the document type (HTML5). | Declaration | <!DOCTYPE html> |
<html>…</html> | Root element that wraps the entire HTML document. | Container | <html lang="en">…</html> |
<head>…</head> | Contains metadata (title, charset, CSS/JS links) — not displayed on page. | Container | <head>…</head> |
<title>…</title> | Sets the page title shown in the browser tab. | Container | <title>My Page</title> |
<body>…</body> | Contains all visible content of the web page. | Container | <body>…</body> |
<h1> to <h6> | Define headings (h1 = largest, h6 = smallest). | Container | <h1>Title</h1> |
<p>…</p> | Defines a paragraph. | Container | <p>Text here.</p> |
<br> | Inserts a line break. | Empty | |
<hr> | Draws a horizontal rule (divider line). | Empty | <hr> |
<b>…</b> | Makes text bold. | Container | <b>Bold</b> |
<i>…</i> | Makes text italic. | Container | <i>Italic</i> |
<u>…</u> | Underlines text. | Container | <u>Underline</u> |
<img> | Embeds an image. | Empty | <img src="pic.jpg" alt="Photo"> |
<a>…</a> | Creates a hyperlink. | Container | <a href="url">Click</a> |
<table>…</table> | Creates a table (with <tr>, <th>, <td>). | Container | <table>…</table> |
<ol>, <ul>, <li> | Create ordered and unordered lists. | Container | <ul><li>Item</li></ul> |
g. What is a hyperlink? Describe different hyperlinks in HTML.
Hyperlink:
- A hyperlink is a clickable element (text, image, or button) that navigates the user from one resource to another — within the same page, to another page, or to an external website.
- Hyperlinks are created using the
<a>(anchor) tag with thehrefattribute specifying the destination URL. - Syntax:
<a href="URL">Link Text</a>
Types of Hyperlinks:
h. What is a Cascading Style Sheet? Mention its advantages.
CSS (Cascading Style Sheet):
- CSS is a style sheet language used to describe the presentation (layout, colours, fonts, spacing, animations) of HTML documents.
- It separates content (HTML) from presentation (CSS), following the principle of separation of concerns.
- "Cascading" means that multiple style rules can apply to the same element, and a priority system determines which rule wins.
- The current version is CSS3 (modular — with modules for selectors, animations, flexbox, grid, etc.).
Advantages of CSS:
- Separation of content and design: HTML handles structure; CSS handles appearance. Changes to design don't require editing HTML.
- Consistency: A single CSS file can style multiple pages, ensuring a uniform look across an entire website.
- Faster page loading: External CSS files are cached by the browser, reducing download time on subsequent pages.
- Easy maintenance: Changing one CSS rule updates every element it applies to, saving significant time.
- Responsive design: CSS media queries enable web pages to adapt to different screen sizes (mobile, tablet, desktop).
- Accessibility: CSS allows control over font sizes, contrast, and layout for better accessibility.
- Reduced code: Replaces many inline attributes, resulting in cleaner, shorter HTML.
i. What are the different types of style sheet? Explain them.
There are three types of style sheets in CSS:
- Applied directly to individual HTML elements using the
styleattribute. - Has the highest priority (overrides document-wide and external styles).
- Example:
<p style="color: blue; font-size: 16px;">Text</p> - Pros: Quick, element-specific.
- Cons: Not reusable, mixes content with presentation, hard to maintain.
- Defined in the
<head>section using a<style>tag. - Applies to all matching elements on that single page.
- Example:
- Pros: Reusable within the page; separates style from HTML elements.
- Cons: Only applies to one page; must be duplicated for multi-page sites.
- Defined in a separate .css file and linked to HTML pages using the
<link>tag or@importrule. - Applies to all pages that link to it — ideal for large, multi-page websites.
- Example (style.css):
- Pros: Maximum reusability; best for large projects; cached by browsers.
- Cons: Requires an extra HTTP request; slight delay on first load.
Inline → Internal (Document-Wide) → External (with specificity and !important also factored in)
j. Methods for applying external style sheet in HTML.
There are two methods to apply an external style sheet:
- The
<link>tag is placed inside the<head>section. rel="stylesheet"specifies the relationship.hrefspecifies the path to the .css file.
- The
@importrule is placed inside a<style>tag or at the top of another CSS file. - Less commonly used than
<link>because it can delay rendering.
k. Document-Wide Style Sheet — type, inclusion, and example.
Document-Wide Style Sheet is an Internal (Embedded) Style Sheet.
- It is included inside the
<head>section of the HTML document using the<style>tag. - It applies to all elements on that specific page that match the defined selectors.
- Useful when styling needs to be specific to a single page.
l. Inline Style Sheet — explanation and example.
Inline Style Sheet applies CSS directly to a specific HTML element using the style attribute.
- It is written inside the opening tag of an element.
- It has the highest priority — overrides document-wide and external styles.
- Best used for one-off, unique styling of a single element.
m. Uses of <SPAN> tag and <DIV> tag.
- A container for inline content — does not start on a new line.
- Used to style a portion of text within a paragraph or other element.
- Does not affect the layout until CSS is applied.
- Example:
<p>This is <span style="color:red;">red</span> text.</p>
- A container for block-level content — always starts on a new line.
- Used to group and section larger blocks of HTML for layout and styling.
- Fundamental building block for CSS layouts (page sections, columns, headers, footers).
- Example:
<div class="header"><h1>Title</h1></div>
n. Uses of ID and CLASS attributes in style sheets.
- Assigns a unique identifier to an element.
- Must be unique on a page — no two elements should share the same ID.
- In CSS, selected with a hash (#):
#myId { color: red; } - Has higher specificity than class selectors.
- Used for: unique page sections, JavaScript targeting, bookmark anchors.
- Example:
<div id="header">…</div>
- Assigns a class name to one or more elements.
- Reusable — multiple elements can share the same class.
- In CSS, selected with a dot (.):
.highlight { background: yellow; } - Has lower specificity than ID selectors.
- Used for: styling groups of elements with common appearance.
- Example:
<p class="highlight">…</p>
o. Use of Text Property — list any three.
- Text properties in CSS control the appearance and layout of text within an element — including alignment, spacing, decoration, indentation, transformation, and more.
Three Text Properties:
| Property | Description | Example |
|---|---|---|
| text-align | Sets the horizontal alignment of text (left, right, center, justify). | text-align: center; |
| text-decoration | Adds decorations to text (underline, overline, line-through, none). | text-decoration: underline; |
| text-transform | Controls the capitalisation of text (uppercase, lowercase, capitalize). | text-transform: uppercase; |
| text-indent | Sets the indentation of the first line of a text block. | text-indent: 30px; |
| letter-spacing | Adjusts the space between characters. | letter-spacing: 2px; |
| line-height | Sets the vertical spacing between lines. | line-height: 1.8; |
p. Use of Font Property — list any three.
- Font properties in CSS control the typeface, size, weight, style, and variant of text, directly affecting readability and visual design.
Three Font Properties:
| Property | Description | Example |
|---|---|---|
| font-family | Sets the typeface (e.g., Arial, Georgia, 'Times New Roman'). | font-family: Arial, sans-serif; |
| font-size | Sets the size of the font (px, em, rem, %). | font-size: 18px; |
| font-weight | Sets the boldness (normal, bold, 100–900). | font-weight: bold; |
| font-style | Sets the style (normal, italic, oblique). | font-style: italic; |
| font-variant | Sets the variant (normal, small-caps). | font-variant: small-caps; |
q. Use of Border Style Property — list any three types.
- Border-style defines the visual style of the border around an HTML element. It controls how the border line appears (solid, dashed, dotted, etc.).
- Full syntax:
border-style: top right bottom left;(or a single value for all four sides).
Three Border Style Types:
| Value | Appearance | Example |
|---|---|---|
| solid | A single, continuous solid line. | border-style: solid; |
| dashed | A series of short dashes. | border-style: dashed; |
| dotted | A series of small dots. | border-style: dotted; |
| double | Two solid lines with space between. | border-style: double; |
| groove | A 3D grooved (inset) border. | border-style: groove; |
| none | No border (default). | border-style: none; |
p { border-style: solid; border-width: 2px; border-color: navy; border-radius: 8px; }Shorthand:
p { border: 2px solid navy; border-radius: 8px; }
Q2. HTML document describing the natural beauty of Nepal
Q3. Web page of an organization
Q4. External style sheet applied to <P>, <BODY>, and <H1> tags
Step 1: Create the external CSS file — style.css
Step 2: Create the HTML file that links to style.css
Q5. HTML document using Document-Wide style sheet
Q6. HTML document using Inline style sheet
Activity 1: Home page on 'Tourism in Nepal' with links to five related pages
Activity 2: Web page on 'Information Entry Form'
Activity 3: Website model of your campus
To build a campus website model, create the following files and interlink them:
- index.html — Home page with campus name, welcome message, navigation bar, and links to other pages.
- about.html — About the campus: history, mission, vision, principal's message.
- academics.html — Programs offered (Science, Management, Humanities), faculty list, class schedule.
- admissions.html — Admission criteria, fee structure, downloadable forms, online application form.
- gallery.html — Photo gallery of campus events, buildings, labs, and activities.
- contact.html — Contact information, campus map, inquiry form.
- style.css — External style sheet for consistent design across all pages.
Activity 4: Visit ISP in Nepal — Web Hosting Information
Objective: Visit or research an ISP in Nepal and gather information about their web hosting services.
Key ISPs in Nepal offering web hosting:
| ISP Name | Website | Key Hosting Info |
|---|---|---|
| WorldLink | worldlink.com.np | Largest ISP; offers shared hosting, domain registration, email hosting. |
| Nepal Telecom (NTC) | ntc.net.np | Government ISP; provides hosting for government and educational portals. |
| Subisu | subisu.net.np | Offers web hosting, cloud hosting, and domain services. |
| AGSM Webhost | agsm.com.np | Specialises in shared hosting, VPS, and dedicated server plans. |
| Web Host Nepal | webhostnepal.com | Provides Linux/Windows hosting, WordPress hosting, SSL certificates. |
- Hosting plans: Shared, VPS, Dedicated, Cloud — with pricing in NPR.
- Disk space & bandwidth: Storage capacity and monthly data transfer limits.
- Domain registration: .com, .com.np, .org.np — cost and renewal fees.
- Email hosting: Number of email accounts, webmail access.
- Technical features: PHP, MySQL, cPanel, SSL, one-click WordPress install.
- Support: 24/7 support, ticket system, phone/chat support.
- Uptime guarantee: Typically 99.9% SLA.
Frequently asked questions
What is Web Technology-I about?
This chapter covers the fundamentals of web technology, including HTML, CSS, web browsers, search engines, and content management systems. It also introduces students to the basics of creating web pages, styling with CSS, and understanding the client-server model. The chapter provides a comprehensive overview of web development concepts and technologies.
Which topics are covered in Web Technology-I?
Class 11 Computer Science “Web Technology-I” covers: HTML; CSS; Web Browsers; Search Engines; Content Management Systems; Client-Server Model; Web Page Creation; Styling with CSS.
What should I focus on in Web Technology-I for the exam?
Students should focus on understanding the basics of HTML and CSS, including syntax, selectors, and properties, as well as the client-server model and how web browsers and search engines work.
What are the key formulas or definitions in Web Technology-I?
HTML Syntax; CSS Selectors; Box Model; CSS Properties (color, font-size, etc.); HTTP/HTTPS Protocol.
Where can I read the Class 11 Computer Science “Web Technology-I” solutions?
Right on this page. They are free and you do not need to sign up. For chapter quizzes and the AI tutor, install the Sikshya Plus app.
Study tips
Do not just read it. Practice it.
You have read the solutions for Web Technology-I. Now test yourself, ask the AI tutor and keep your streak going.




- AI quizzes for this chapterTest yourself with instant feedback and explanations after every answer.
- AI tutor, free, 24/7Stuck on a question? Ask in your own words and get a step-by-step explanation.
- 14 AI tools in one appSummarizer, grammar checker, flashcards, essay help, math solver and more.
- Past questions and notesPast papers and your own notes organized chapter by chapter.