Subject Expert
Learn, Evaluate and Optimize
Home
Click to open
Learn
Help
Login
Sign Up
Learn
Computer Science
Object Oriented Software Engineering
OOSE Labs
Web Engineering
Database Systems
Database Systems Labs
Computer Programming
Software Quality
Operating Systems
Computer Networks
Software Engineering
Data Structures
Computer Organization
Object Oriented Programming
Software Construction
Compiler Construction
Android Development
Android Labs
Automata Theory
Essentials of Cyber Security
Cloud Computing
Numerical Computing
Digital Switching
Wireless Networks
Programming Fundamentals
Routing and Switching Principles
Human Computer Interaction
Discrete Structures
Machine Learning
Artificial Intelligence
Digital Image Processing
Software Testing
Design Patterns
Computer Basics
Data Science
Software Engineering Principles
Assembly Language
Software Design and Architecture
SDA Labs
Blooms Taxonomy
Web Technologies
HTML
CSS
HTML5
AngularJS
Bootstrap
Git
E Marteking Tips
Flutter
Online Tools
UX Automation
Python
MVC
Technologies Overview
ReactJS
College Subjects
Biology 11
Biology 12
Physics 11
Physics 12
Mathematics 11
Mathematics 12
Chemistry 11
Chemistry 12
English 11 and 12
Accounting
Biology for ADA
Programming Languages
Javascript
PHP
C Sharp Language
Java
TypeScript
Programming Concepts
Dart
Puthon
Primary School
Inspiring Science Class 4
Inspiring Science Grade 1
Computer Made Friendly Class 4
Pick Me Up 2 Class 4
English Grammer Class 1
Mathematic for 5th Class
Computer Science for Class II
Mathematics Class 5
Mathematics Class 2
General Science Class 5
English Class 2
English Class 5
Mathematics Class 3
Mathematics for Grade 4 for Oxford
Professionals
Interview Tips
Tips
Emerging Trends in IT
High School
Computer Science Class 9
Computer Science Class 10
General Science Class 6
Mathematics Class 6
ISLAM
Quran Recitation
Islam Basics
Quran Tafseer
Courses
×
Computer Science
Web Technologies
College Subjects
Programming Languages
Primary School
Professionals
High School
ISLAM
Object Oriented Software Engineering
OOSE Labs
Web Engineering
Database Systems
Database Systems Labs
Computer Programming
Software Quality
Operating Systems
Computer Networks
Software Engineering
Data Structures
Computer Organization
Software Construction
Compiler Construction
Android Development
Android Labs
Automata Theory
Essentials of Cyber Security
Cloud Computing
Numerical Computing
Digital Switching
Wireless Networks
Programming Fundamentals
Routing and Switching Principles
Discrete Structures
Machine Learning
Artificial Intelligence
Digital Image Processing
Software Testing
Design Patterns
Computer Basics
Data Science
Software Engineering Principles
Assembly Language
Software Design and Architecture
SDA Labs
HTML
CSS
HTML5
AngularJS
Bootstrap
E Marteking Tips
Flutter
Online Tools
UX Automation
Python
Technologies Overview
ReactJS
Biology 11
Biology 12
Physics 11
Physics 12
Mathematics 12
Chemistry 11
Chemistry 12
English 11 and 12
Biology for ADA
Javascript
PHP
C Sharp Language
TypeScript
Programming Concepts
Dart
Inspiring Science Class 4
Inspiring Science Grade 1
Computer Made Friendly Class 4
Pick Me Up 2 Class 4
English Grammer Class 1
Computer Science for Class II
Mathematics Class 5
Mathematics Class 2
General Science Class 5
English Class 2
Mathematics Class 3
Mathematics for Grade 4 for Oxford
Interview Tips
Tips
Computer Science Class 9
Computer Science Class 10
Mathematics Class 6
Quran Recitation
Islam Basics
Home
Communicator
Tools
Profile Settings
Loading, please wait ...
Open its course -
HTML5
HTML5 Canvas
Canvas API
Canvas Example
Rectangle drawing using Canvas
Line...
View Complete Description
×
Topic Summary
Canvas API
Canvas Example
Rectangle drawing using Canvas
Line drawing using Canvas
Curves Lines
Arcs in HTML5
Drawing Text
Topic Questions:
18
MCQs
T/F
FiB
SQ
7
3
5
3
Question Type Legends
Easy
Medium
Difficult
MCQs
T/F
FiB
Short Qs
Open its course -
HTML5
Multiple Choice Questions for HTML5 Canvas
1
The fill() function fills a figure with the canvas?s current fill color,which you set with the _____ attribute
fillStyle
colorStyle
fillColor
setColor
View Answer
2
For canvas element, Which of the following is default value for textAlign attribute.
start
end
left
right
center
View Answer
3
Which of the following attribute are used to set the color of the shadow in HTML5 canvas?
shadowBlur
shadowColor
shadowOffsetX
shadowOffsetY
View Answer
4
Which of the following attribute is used to specify the inner color of the shape in canvas element?
strokeStyle
fillStyle
style
none
View Answer
5
Which attributes are required in HTML5 < canvas > element?
Height, width
Start Tage and End Tag
Both a & b
None
View Answer
6
Which of the following is NOT possible to draw in < canvas > element?
Lines, Arcs
Shapes like polygon
Images, text, irregular shapes
None of above
All of above
View Answer
7
Canvas element was introduced in HTML version
2.0
3.0
4.1
5
View Answer
About Us
Who we are
Privacy Policy
Terms of Use
Contact Us
support@subexpert.com
Write to Us
View Help
Subject Expert
Learn, Evaluate and Optimize
Products / Utilites
Attendance Mapper
Industry Liason Cell (ILC)
Smart Secretary
Follow Us
Facebook
Switch Display Mode
Enable Translation
© 2025 - Subject Expert