0% found this document useful (0 votes)
9 views2 pages

Assignment10 Starting With Css2

The document is an assignment by Prince Kumar dated January 25, 2023, focusing on CSS. It explains the purpose of CSS selectors in styling HTML elements, lists five types of selectors, and describes how to include external fonts using Google Fonts. The steps to apply fonts involve selecting and customizing fonts on Google Fonts and linking them in HTML and CSS files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Assignment10 Starting With Css2

The document is an assignment by Prince Kumar dated January 25, 2023, focusing on CSS. It explains the purpose of CSS selectors in styling HTML elements, lists five types of selectors, and describes how to include external fonts using Google Fonts. The steps to apply fonts involve selecting and customizing fonts on Google Fonts and linking them in HTML and CSS files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

-----::::::STARTING WITH CSS::::::-----

ASSIGNMENT DATE:-25/JANUARY/2023

NAME:- PRINCE KUMAR


PWSKILLS.

QUES1. Why CSS selectors are used in HTML ?


Answ. CSS selectors are used for selecting the HTML elements that
you want to style, and they are a fundamental part of working
With CSS.
It is a pattern used to select elements to which a set
of styles will be applied. CSS selectors can be used to select
element based on their type,class,id,or positions.

QUES2. What are the different types of Selectors in CSS ?


Answ. There are five types of selectors in CSS are:-
1)simple selectors 2)combinators 3) attribute selectors
4)pseudo-class selectors 5) pseudo-element selectors.

QUES3. How do you include external fonts and apply them?


Answ. Fonts are an essential aspect of design and can greatly affect
the look and feel of a website or document.
Google fonts is a library of free, open-source
fonts that can be used on your web-projects.
-> search google fonts on chrome.
-> select the fonts and customize the styles.
-> paste the “copy link” of fonts on HTML code and CSS link
in “.css extension” file.

You might also like