SVG

Duration: 7 min

This video lesson is available to enrolled students.

Return to /learn/ASRB-ICAR-T3-T4-INFORMATION-TECHNOLOGY-PRELIMS-MAINS/website-development-html-javascript-css-cmsnet-jsp-php/html5/html5-graphics/asset-svg after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Prelims: General Knowledge: Physics Chemistry Biology History Geography Polity Indian Economy Static General Knowledge GK- Current Affairs Environment
  2. Prelims: General English: Vocabulary Noun Pronoun Adjectives Preposition Articles Direct and Indirect Speech Tenses Conjunction Subject Verb Agreement (Verb Noun Agreement) Modals Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing) Sentence Correction (Error Correction) Sentence Completion (Fill in the blanks) Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions) Cloze Test (Cloze Passage) Verbal Analogy (Word Based Analogy) Sentence Construction Adverb Verb
  3. Prelims: Quantitative Aptitude: Percentage Ratio and Proportion (Ratios) HCF LCM Divisibility Rules Average Sequence and Series (Series) Number System Powers and Exponents (Surds and Indices) Algebra Profit and Loss Simple Interest and Compound Interest Time and Work Pipe and Cistern Speed Time and Distance Mixture and Alligation Mensuration and Geometry Age Problems Partnership Statistics Data Interpretation Arithmetic
  4. Prelims: General Agriculture: Agriculture in India and Tripura Natural Resource Management Fundamentals of Crop Production Horticulture Crop Improvement Crop Protection Social Science
  5. IT Mains: Operating System: Introduction to OS Process Management CPU Scheduling Process Synchronization Threads & Process Creation Deadlock Memory Management Virtual Memory Disc Scheduling File Management Distributed Systems
  6. IT Mains: Computer Networking: Introduction to CN DLL: Access Control DLL: Flow Control DLL: Error Control Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Net Layer:Routing Protocol Transport Layer Services TL: Congestion & UDP Application Layer Hardware Basics Network Security
  7. IT Mains: DBMS: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) Decomposition Properties & 4NF Relational Algebra SQL Relational Calculus Transaction Management Concurrency Control Database Recovery Big Data Systems Database Security & Authorization Enhanced Data Models NoSQL
  8. IT Mains: Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management
  9. IT Mains: Data Structures & Algorithms: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing Algorithm Analysis Time Complexity Analysis Sorting Algorithms
  10. IT Mains: OOPS with C++ & Java: C Fundamentals OOPS with C++ Java Fundamentals Array, String, IO & References OOPS with Java Generic & Collections Multithreading File Handling & I/O
  11. IT Mains: Python: Introduction to Python Tokens, Variables, Data Types, I/O Operators & Expressions Control Flow & Looping Collections & Strings Functions & Modules
  12. IT Mains: Website Development: Website, Browser & Services Internet Fundamentals Web Design & Development Protocols & Services Web Publishing & Hosting Server Side & Security Emerging Technologies HTML Basics HTML5 CSS JavaScript-Basics .Net Programming PHP
  13. IT Mains: Mobile App Development: Mobile Computing Multimedia
  14. IT Mains: Linux / Windows Server Admin: Unix OS Linux OS
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces SVG (Scalable Vector Graphics) as an XML-based markup language for creating two-dimensional graphics on web pages. The instructor explains that SVG graphics can be scaled without losing quality, supports shapes, lines, text, and paths, can be styled with CSS, and can be accessed and modified using JavaScript. A three-step diagram shows the workflow from the SVG element defining the drawing area, to shape elements such as circles, rectangles, and lines, and finally to the web page output. The lesson then moves to specific SVG elements. The <circle> element is explained with attributes cx (X-coordinate of the center), cy (Y-coordinate of the center), r (radius), fill (inside color), and stroke (outline color). A syntax example is shown: <circle cx="100" cy="100" r="50" fill="red" />, and a code example demonstrates a yellow circle with a green stroke. The instructor uses hand-drawn diagrams to illustrate the coordinate system, center point, and radius. The <rect> element is introduced with position and dimension attributes, and a code example shows a blue rectangle with a red stroke. Finally, the <polygon> element is presented as a closed shape of straight lines connecting multiple points, with attributes points (X and Y coordinates of vertices), fill, and stroke. A syntax example is given: <polygon points="100,10 190,140 10,140" fill="orange" />, and a code block includes an <svg width="400" height="120"> wrapper with fallback text for browsers that do not support inline SVG.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video introduces SVG as an XML-based markup language for two-dimensional web graphics. On-screen text lists features: graphics can be scaled without losing quality, supports shapes, lines, text, and paths, can be styled using CSS, elements can be accessed and modified using JavaScript, and it is suitable for logos, icons, charts, and diagrams. A three-step diagram shows the SVG element, shape elements, and web page output. The instructor underlines and circles key terms in the title and adds red checkmarks to emphasize features.

  2. 2:00 – 5:00 02:00-05:00

    The lecture focuses on the SVG <circle> element. The slide states that the element draws a circle by specifying center coordinates and radius. Attributes are listed: cx (X-coordinate of the center), cy (Y-coordinate of the center), r (radius), fill (inside color), and stroke (outline color). The syntax line reads: <circle cx="100" cy="100" r="50" fill="red" />. The instructor adds checkmarks next to each attribute and draws a small circle diagram illustrating center and radius. A code example shows a yellow circle with a green stroke. The segment transitions to the <rect> element, introducing position and dimension attributes, with a code example for a blue rectangle with a red stroke.

  3. 5:00 – 7:05 05:00-07:05

    The slide is titled "4. Polygon (<polygon>)" and explains that the element draws a closed shape of straight lines connecting multiple points. A bulleted list shows the attributes: points (defines the X and Y coordinates of the vertices), fill (inside color), and stroke (outline color). The syntax line displays: <polygon points="100,10 190,140 10,140" fill="orange" />. On the left, a code block contains an <svg width="400" height="120"> wrapper with a <polygon> element and the fallback text "Sorry, your browser does not support inline SVG."

The lecture progresses from a general overview of SVG to specific shape elements. It begins by defining SVG and listing its core features, using a flowchart to show how SVG elements, shape elements, and web page output relate. The instructor then teaches the <circle> element in detail, explaining each attribute (cx, cy, r, fill, stroke) with a syntax example and a hand-drawn diagram of center and radius. A practical code example reinforces the concept with a yellow circle and green stroke. The lesson then introduces the <rect> element with a blue rectangle and red stroke example, and concludes with the <polygon> element, explaining the points attribute and showing a code block with an SVG wrapper and browser fallback text. The teaching method combines on-screen text, code examples, and hand-drawn annotations to visualize abstract coordinate concepts.

Loading lesson…