Syllabus topics (RTMNU)
- Brief History of the Internet
- What is World Wide Web
- URL
- Domain
- Web Page and a Website
- Internet Browser
- HTML
- CSS Editors
- Introduction to HTML
- Basic structure of an HTML document
- HTML Tags and attributes
- HTML Tags vs. elements
- Heading
- Paragraphs
- Line Breaks
- HTML Basic Tags and Formatting Tags
- Working with Lists
- Tables
- Frames
- Marquee text
Brief History of the Internet
The Internet is a worldwide network of computer networks that communicate using common rules called TCP/IP.
- 1969: ARPANET, a US defence research network, connected four universities.
- 1983: ARPANET adopted TCP/IP — often called the birth of the Internet.
- 1989–91: Tim Berners-Lee at CERN invented the World Wide Web, HTML and HTTP.
- 1993: Mosaic, the first popular graphical browser.
- 1995: public Internet in India through VSNL (15 August 1995).
- Later: search engines, social media, smartphones, cloud and mobile Internet.
World Wide Web, URL, Domain, Web Page and Website
- World Wide Web (WWW): a system of interlinked web pages on the Internet, accessed through browsers using HTTP/HTTPS. The Internet is the network; the Web is one service running on it.
- URL (Uniform Resource Locator): the complete address of a resource, e.g. https://www.example.com/notes/index.html — protocol (https), domain (www.example.com), path (/notes/index.html).
- Domain name: an easy-to-remember name that maps to a server's IP address through DNS. Top-level domains: .com, .org, .in, .gov.in, .edu.
- Web page: a single document written in HTML, shown in a browser.
- Website: a collection of related web pages under one domain, with a home page.
Internet Browser and Editors
A web browser is software that requests web pages from servers and displays them — Google Chrome, Mozilla Firefox, Microsoft Edge, Safari. HTML/CSS editors are programs used to write web pages: simple text editors (Notepad), code editors (Visual Studio Code, Sublime Text, Notepad++) and WYSIWYG editors (Adobe Dreamweaver).
Introduction to HTML and Basic Structure
HTML (HyperText Markup Language) is the standard markup language used to create and structure web pages using tags. It is not a programming language; it describes the structure of content. The current standard is HTML5.
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Welcome</h1>
<p>This is my first web page.</p>
</body>
</html>
<!DOCTYPE html> tells the browser it is HTML5; <html> is the root; <head> holds title and meta information; <body> holds visible content. Save the file with .html extension.
HTML Tags, Attributes and Elements
- Tag: a keyword in angle brackets, e.g. <p>. Most come in pairs (opening and closing </p>); some are empty (<br>, <img>, <hr>).
- Attribute: extra information inside the opening tag as name="value", e.g. <img src="logo.png" alt="Logo" width="100">.
- Element: the opening tag + content + closing tag together, e.g. <p>Hello</p>.
| Tag | Element |
|---|---|
| Only the marker in angle brackets | Complete unit: start tag, content and end tag |
| <b> | <b>Bold</b> |
Headings, Paragraphs, Line Breaks, Basic and Formatting Tags
- Headings: <h1> (largest) to <h6> (smallest).
- Paragraph: <p>; line break: <br>; horizontal line: <hr>.
- Formatting tags: <b> bold, <i> italic, <u> underline, <strong> important, <em> emphasis, <sub> subscript (H2O), <sup> superscript (x2), <mark> highlight, <small>, <del> deleted, <pre> preformatted text.
Working with Lists
- Ordered list <ol>: numbered items; attribute type="1", "A", "a", "I", "i"; start="5".
- Unordered list <ul>: bulleted items; list-style disc, circle, square.
- Description list <dl>: <dt> term and <dd> description.
<ol type="A">
<li>Accounts</li>
<li>Economics</li>
</ol>
Tables
Tags: <table>, <tr> (row), <th> (header cell), <td> (data cell), <caption>. Attributes: border, cellpadding, cellspacing, colspan (merge columns), rowspan (merge rows).
<table border="1">
<tr><th>Name</th><th>Marks</th></tr>
<tr><td>Asha</td><td>78</td></tr>
<tr><td colspan="2">Total students: 1</td></tr>
</table>
Frames and Marquee Text
Frames divide the browser window into sections, each showing a separate HTML document, using <frameset rows="30%,70%"> or cols, with <frame src="...">. Frameset is not supported in HTML5; today <iframe> is used to embed one page inside another.
Marquee (<marquee>) makes text scroll across the screen; attributes: direction (left, right, up, down), behavior (scroll, slide, alternate), scrollamount, loop, bgcolor. It is obsolete in HTML5 (CSS animation is preferred) but still asked in exams.
<marquee direction="left" behavior="scroll" scrollamount="5">Admissions open!</marquee>
Likely exam questions
- (Long, 8/16 marks) Explain the basic structure of an HTML document. Describe the formatting tags of HTML with examples.
- (Long, 8/16 marks) How are lists and tables created in HTML? Explain with examples including colspan and rowspan.
- (Short, 4 marks) Distinguish between a web page and a website.
- (Short, 4 marks) What is a URL? Explain its parts.
- (Short, 4 marks) Differentiate between an HTML tag and an HTML element.