Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
General Awareness
→
IIT JEE in General Awareness
→
List and explain the Font and text element propert...
1.
List and explain the Font and text element properties and values used CSS?
Answer»
Formatting
Properties
Values
Example
Text alignment
Text-align
Center/left/Right/justify
p
{
Text-align : center,
}
Text colour
Color
Predefined_color_Name
P
{
color:pink;
{
H1
{
Color: MediumseaGreen:
}
`Font type
Font-family
Font_name
P
{
Font.family: "times New Roman";
}
Font style
Font-style
Normal/Italic
P
{
Font.family: "Times New Roman";
{
Font Style (Bold)
Font-Weight
Normal/Bold
P
{
Font - family : "Times New Roman";
Font-weight : bold;
}
Font size
Font - size
Size in pixels
P
{
Font-family: "Times New Roman";
Font -style :Italic;
Font-weight: 14px;
}
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
The declaration should be terminated by:(a) :(b) ;(c) .(d) ,
What is the property to set text as bold?(a) Font-Style(b) Font-Weight(c) Font-Property(d) Font-Bold
Which of the following indicates that the text included is a comment?(a) /**/(b) !* *!(c) <* *>(d) \* *\
What is the use of <style> tag?
What is CSS?
Which of the following ways below is correct, to write a CSS?(a) p{coloured; text-align:center};(b) p {colonred; text-align:center}(c) p {color:red; text-align:center;}(d) p (color:red;text-align:center;)
List and explain the Font and text element properties and values used CSS?
Write an HTML document to display the following oaragraph as per the given description Using CSS:
The extension of CSS file is:(a) .ssc(b) .css(c) .CSC(d) .htm
Write down general format of CSS declaration?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies