Professional Documents
Culture Documents
Assigment Module 1
Assigment Module 1
Assignment
Term-1
Module (HTML)-1
Q-1 Are the HTML tags and elements the same thing?
No, HTML tags and elements the same thing.
Q-2 What are tags and attributes in HTML?
Attributes are introduction that clarify or modify
elements.
<> </> start tag and closing tag
Q-3 What are void elements in HTML?
Void elements are those tags which have does not
have closing tags means its self-closing.
Example this tags:- link <hr> <br> img
Q-4 What are HTML Entities?
HTML entities are used for Special characters in
HTML documents.
Example:-< > , “” {} [] @ # $ % & *
Q-5 What are different types of lists in HTML?
3 types of lists in HTML:
1.Ordered list
2.Unordered list
3.Description list
Q-6 What is the ‘class’ attribute in HTML?
The class attribute in HTML is used to assign a class
or group name to an element.
Q-7 What is the difference between the ‘id’ attribute and the
‘class’ attribute of HTML elements?
The class attributes can be used by multiple HTML
elements and The ID attributes can be used by one
HTML elements within the page.