1.

List and explain the Font and text element properties and values used CSS?

Answer»
FormattingPropertiesValuesExample
Text alignmentText-alignCenter/left/Right/justifyp
{
Text-align : center,
}
Text colourColorPredefined_color_NameP
{
color:pink;
{
H1
{
Color: MediumseaGreen:
}
`Font typeFont-familyFont_nameP
{
Font.family: "times New Roman";
}
Font styleFont-styleNormal/ItalicP
{
Font.family: "Times New Roman";
{
Font Style (Bold)Font-WeightNormal/BoldP
{
Font - family : "Times New Roman";
Font-weight : bold;
}
Font sizeFont - sizeSize in pixelsP
{
Font-family: "Times New Roman";
Font -style :Italic;
Font-weight: 14px;
}



Discussion

No Comment Found