Set the Font Weight with CSS

varun
Updated on 30-Jan-2020 10:21:39

205 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.    

Usage of Font Property in CSS

Srinivas Gorla
Updated on 30-Jan-2020 10:19:44

106 Views

The font property is used as shorthand to specify a number of other font properties, such as font family, size, style, etc.ExampleYou can try to run the following code to learn how to work with font property:                            Applying all the properties on the text at once.          

Adjust Font Weight with CSS

Abhinanda Shri
Updated on 30-Jan-2020 10:19:08

373 Views

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.    

Usage of Font Style Property in CSS

Giri Raju
Updated on 30-Jan-2020 10:18:40

88 Views

The font-style property is used to make a font italic or oblique. You can try to run the following code to set the font-style property:                            This text will be rendered in italic style          

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    

Shorthand Property to Set the Font with CSS

Priya Pallavi
Updated on 30-Jan-2020 10:17:39

235 Views

The font property is used as shorthand to specify the number of other font properties, such as font family, size, style, etc.ExampleYou can try to run the following code to learn how to work with font property:                            Applying all the properties on the text at once.          

Usage of Font Family Property in CSS

seetha
Updated on 30-Jan-2020 10:16:40

176 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.          

Increase or Decrease Font Size with CSS

Nikitha N
Updated on 30-Jan-2020 10:16:10

662 Views

The font-size property is used to increase or decrease the font size. 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 15 pixels       This font size is small       This font size is large    

cbegin() in C++ Deque

Sunidhi Bansal
Updated on 30-Jan-2020 10:03:30

181 Views

Given the task is to show the working of deque::cbegin() in C++ STL.What is Deque::cbegin( ) function?deque::cbegin() is a function which comes under deque header file, cbegin() returns the iterator pointer which points to the first element of the deque container.Note − cbegin() function does not have any arguments in it.Syntaxdeq.cbegin();Where deq is the deque’s object.Return ValueThe function returns a const_iterator.const_iterator is a random access iterator which is used to point to the first element of the deque container. We can traverse the whole container using the first element of the container, but this can’t be used to do the ... Read More

iswcntrl Function in C++ STL

Sunidhi Bansal
Updated on 30-Jan-2020 09:59:01

157 Views

The iswcntrl () function in C++ standard template library(STL) is used to check if the given wide character is a control character or not. A control character is a character in C/C++ that won’t occupy a printing position on a display screen. Iswcntrl() function is defined in a cwctype header file.Syntax of iswcntrl() function is as followsint iswcntrl (wint_t c)Parameters − c − This is the character to be checked.Return Value − A value different from zero (i.e.. a non-zero value) if c is a control character else a zero value.Approach used in the below program is as followsInput the ... Read More

Advertisements