Zed-King Institute
    All Notes

    ECC · Chapterwise Notes

    Chapter 15: HTML Programming

    Zed-King Study app · Free

    Free CCC & O Level practice app

    Daily quizFull mock testsAll-India rank
    Open the free app

    Google login · no Play Store needed

    🏆 Free All-India Sunday Mock · Sun, 29 Nov, 11 AM · CCC + O LevelRegister

    About this PDF

    ECC Chapter 15: HTML Programming — free chapter-wise PDF notes for the Expert Computer Course.

    This is part of the free ECC study material in the Zed-King Study Zone. You can read every page above in your browser, or download the file and study offline. Zed-King Group of Institute is a NIELIT Study Centre in Kaithal, Haryana, and all of this material follows the current NIELIT syllabus.

    Course
    ECC — Expert Computer Course
    Section
    Chapterwise Notes
    Format
    PDF — read online or download
    Price
    Free, no sign-up required

    Text from this PDF

    The opening pages as plain text — open the reader above for tables, diagrams and the full file.

    EXPERT COMPUTER COURSE HTML PROGRAMMING BASICS Topics Covered:

    # Topic 1 Concepts of HTML — Introduction, History, How It Works 2 HTML Page Structure — DOCTYPE, Head, Body, All Tags 3 HTML Text Formatting Tags — Headings, Paragraphs, Lists, Formatting 4 HTML Links — Anchor Tag, Hyperlinks, Email Links, Anchors 5 HTML Images — img Tag, Attributes, Image Map 6 HTML Tables — Complete Table Structure, Attributes, Spanning 7 HTML Frames — Frameset, Frame, iFrame 8 CSS — Cascading Style Sheets, Types, Selectors, Properties

    9 FrontPage and InterDev — Introduction and Features 10 Quick Revision + Important MCQ Questions SECTION 1: INTRODUCTION TO HTML

    1.1 What is HTML?

    HTML (HyperText Markup Language) is the standard language used to create and structure content on web pages. It uses tags to define the structure and meaning of web content. HTML is NOT a programming language — it is a markup language that describes the structure of a webpage.

    Term Full Form Meaning H HyperText Text with links to other documents — clicking jumps to another page/location T Text The content itself — written information displayed on web pages M Markup Using special tags to define structure and formatting of content L Language A system of tags with specific syntax rules

    1.2 Brief History of HTML Version Year Key Changes HTML 1.0 1991 Tim Berners-Lee invented HTML at CERN. Basic tags: headings, paragraphs, links.

    HTML 2.0 1995 First official standard. Added forms for user input.

    HTML 3.2 1997 Added tables, applets, text flow around images. W3C released.

    HTML 4.01 1999 Separated structure from presentation. Introduced CSS support.

    Added frames.

    XHTML 1.0 2000 Stricter HTML using XML rules — all tags lowercase, properly closed.

    HTML5 2014 (current)

    Added semantic tags, audio, video, canvas, geolocation, local storage. No plugins needed.

    1.3 How a Web Page Works

    • Step 1: User types URL in browser (www.zedking.in)

    • Step 2: Browser sends HTTP request to web server

    • Step 3: Web server responds with HTML file

    • Step 4: Browser reads (parses) HTML tags and renders the page visually

    • Step 5: Browser also fetches linked CSS, JavaScript, and image files

    • Web Server: Computer that stores website files and serves them to browsers

    • Browser: Chrome, Firefox, Edge — reads HTML and displays it visually SECTION 2: HTML PAGE STRUCTURE

    2.1 Basic HTML Document Structure Every HTML document follows a basic structure with specific sections. The browser uses this structure to understand what is metadata (about the page) and what is content (shown to the user).

    <!DOCTYPE html> <html> <head> <title>Page Title</title> <meta charset="UTF-8"> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Section Tag Description Document Type <!DOCTYPE html> First line — tells browser this is HTML5. Not a tag, it is a declaration.

    Root Element <html> ...

    </html> Wraps entire HTML document — parent of all other elements Head Section <head> ...

    </head> Contains metadata — NOT shown on page.

    Holds title, styles, scripts, meta tags.

    Page Title <title> ...

    </title> Text shown in browser tab / window title bar. Also used as bookmark name.

    Meta Tag <meta charset='UTF-8'> Metadata about document — character encoding, description, keywords, viewport Body Section <body> ...

    </body> Contains all visible content — text, images, links, tables etc. shown to user Comments <!-- comment text Not displayed — notes for developers. Browser ignores these.

    2.2 HTML Tags — Syntax Rules HTML tags are keywords surrounded by angle brackets < >. Most tags come in pairs:

    an opening tag <tag> and a closing tag </tag>. Content goes between them.

    <tagname attribute="value"> Content here </tagname> Tag Type Description Example Opening Tag Starts an element <p>, <h1>, <b>, <a> Closing Tag Ends an element — has forward slash Self-Closing Tag No content needed — opens and closes in one tag <br>, <img>, <hr>, <input> Tag Type Description Example Attribute Additional information inside the opening tag <img src='photo.jpg' alt='My photo'> Attribute Value The value of the attribute — in

    quotes href='https://google.com', width='300' Nested Tags Tags inside other tags — must be properly nested <p><b>Bold inside paragraph</b></p>

    More chapterwise notes

    Try this HTML, CSS and JavaScript live — free

    Type any tag or style from these notes into our free editor, press Run and see the page change. The explained examples show the code and the result side by side.

    Prepare for ECC with expert guidance

    Classroom training, practical labs and exam registration at Zed-King Institute, Kaithal.

    Drag me!