Found 601 Articles for Front End Scripts

Usage of text-decoration property in CSS

varun
Updated on 30-Jan-2020 10:37:48

95 Views

The text-decoration property is used to underline, overline, and strikethrough text.ExampleThe following example demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink.                            This will be underlined                      This will be striked through.                      This will have a over line.                      This text will have blinking effect          

How to set the color of a text with CSS

Srinivas Gorla
Updated on 30-Jan-2020 10:39:57

144 Views

To set the color of a text, use the color property.ExampleYou can try to run the following code to learn how to work with the color property in CSS:                            ANTARTICA is a continent          

Set the direction of a text with CSS

karthikeya Boyini
Updated on 30-Jan-2020 10:37:20

141 Views

The direction property is used to set the text direction. Possible values are ltr or rtl.ExampleYou can try to run the following code to set the text direction with CSS:                            This text will be renedered from right to left          

Set the font stretch of an element with CSS

Samual Sam
Updated on 30-Jan-2020 10:36:52

55 Views

To set the font-stretch of an element, use the font-stretch property. Possible values could be normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.                            If this doesn't appear to work, it is likely that your computer doesn't have a          condensed or expanded version of the font being used.          

Usage of font-variant property in CSS

Sreemaha
Updated on 30-Jan-2020 10:36:27

77 Views

The font-variant property is used to create a small-caps effect. Possible values are normal and small-caps.                            This text will be rendered as small caps          

Usage of font-weight property in CSS

Abhinaya
Updated on 30-Jan-2020 10:36:02

76 Views

The font-weight property is used to increase or decrease how bold or light a font appears. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.                   This font is bold.       This font is bolder.       This font is 500 weight.    

Font size adjust of an element with CSS

Giri Raju
Updated on 30-Jan-2020 10:35:27

136 Views

This property enables you to adjust the x-height to make fonts more legible. Possible value could be any number.Example                            Asia is a continent.          

What are the advantages of CSS?

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

15K+ Views

CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, etc. The following are the advantages of CSS − CSS saves time − You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want. Easy maintenance − To make a global change, simply change the style, and all elements ... Read More

Set the font family with CSS

vanithasree
Updated on 30-Jan-2020 10:34:23

462 Views

The font-family property is used to change the face of a font. Possible value could be any font family name.                            This text is rendered in either georgia, garamond, or the default serif font          depending on which font you have at your system.          

Set the font size with CSS

Sravani S
Updated on 30-Jan-2020 10:18:12

317 Views

The font-size property is used to increase or decrease the size of a font. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.                   This font size is 10 pixels       This font size is small       This font size is large    

Advertisements