Increase or Decrease Font Size with CSS

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

676 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

195 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

171 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

iswctype Function in C++ STL

Sunidhi Bansal
Updated on 30-Jan-2020 09:50:37

112 Views

In C++ standard template libraray(STL), iswctype() function is used to check if the given wide character has property specified by desc.Iswctype() is an in built function whose header file is “ctype.h”.Syntax of Iswctype() is as followsint iswctype(wint_t c, wctype_t desc); iswctype () / Checks whether whether c has the property specified by desc. /Synopsisint iswctype(wint_t c, wctype_t desc);ParametersC − To check the wide characters which are casted to the integral type wint_tDesc − It is a value which is returned by the call to wctype, which is a scalar type which is used as return type for wctype(Wide character type).Return ... Read More

iswdigit Function in C++ STL

Sunidhi Bansal
Updated on 30-Jan-2020 09:44:13

169 Views

In C++ STL, iswdigit() function is a built-in function that is used to check if the given wide character is a decimal digit character or some other character. This function is present in a cwctype header file in C/C++.What are the decimal digit characters?Decimal digit character are the numeric values that starts from 0 i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 .Syntax of iswcntrl() function is as followsint iswdigit() (wint_t c)Parameters − c is a wide character to be checked, casted to a wint_t, or WEOF where wint_t is an integral type.Return Value − A value ... Read More

Create Small Caps Effect for CSS

Abhinaya
Updated on 30-Jan-2020 09:25:02

538 Views

To create a small-caps effect, use the font-variant property.ExampleYou can try to run the following code to learn how to work with font-variant property in CSS:                            Asia, Antartica, Africa are continents          

Make a Font Italic with CSS

varma
Updated on 30-Jan-2020 09:24:23

372 Views

To make a font italic, use the font-style property. You can try to run the following code to learn how to work with the font-style property:Example                            This text is in italic style          

Usage of Background Attachment Property in CSS

vanithasree
Updated on 30-Jan-2020 09:23:52

73 Views

The background-attachment property is used to control the scrolling of an image in the background.ExampleYou can try to run the following code to learn how to work with the background-attachment property:                    body {             background-image: url('/css/images/css.jpg');             background-repeat: no-repeat;             background-attachment: fixed;          }                     The background-image is fixed. Try to scroll down the page.       The background-image is ... Read More

Change the Font Face with CSS

Govinda Sai
Updated on 30-Jan-2020 09:23:13

259 Views

To change the font face, use the font-family property.ExampleYou can try to run the following code to learn how to work with the font-family property:                            Demo content          

Usage of Background Property in CSS

Sreemaha
Updated on 30-Jan-2020 09:22:35

103 Views

The background property is used as a shorthand to specify the number of other background properties such as image, position, repeat, etc.                            This parapgraph has fixed repeated background image.          

Advertisements