Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

17. Text Styling And Formatting – Full stack web development Tutorial Course

41.1K views on YouTube

In this FullStackWebDevelopment tutorial video, We will learn about #CSS Text #Styling And #Formatting. The font-family property specifies the font for an element. The font-family property can hold several font names as a “fallback” system. If the browser does not support the first font, it tries the next font.

There are two types of font family names:
A) family-name – The name of a font-family, like “times”, “courier”, “Arial”, etc.
B) generic-family – The name of a generic-family, like “serif”, “sans-serif”, “cursive”, “fantasy”, “monospace”.

Start with the font you want, and always end with a generic family, to let the browser pick a similar font in the generic family if no other fonts are available. Separate each value with a comma. If a font name contains white-space, it must be quoted. Single quotes must be used when using the “style” attribute in HTML.

The font-size property sets the size of a font. The font-style property specifies the font style for a text to normal, oblique or italic.

The text-align property is used to set the horizontal alignment of a text. A text can be left or right-aligned, centred, or justified. The text-decoration property is used to set or remove decorations from the text. The value text-decoration: none; is often used to remove underlines from links.

The text-transform property is used to specify uppercase and lowercase letters in a text. It can be used to turn everything into uppercase or lowercase letters or capitalize the first letter of each word. The letter-spacing and the word-spacing property is used to specify the space between the characters or words in a text respectively. The line-height property is used to specify the space between lines. The colour property is used to set the colour of the text.

—————————-

Week 1: Day 3
Section 3: Intermediate CSS
Tutorial 17: Text Styling And Formatting Using browser inspector tools

—————————-
Do subscribe and hit Bell Icon
—————————-

Follow us in social media handles for opportunities and code related support.

Instagram: https://www.instagram.com/wb.web/
Facebook: https://www.facebook.com/wbweb/
Twitter: https://twitter.com/wbweb_in/
LinkedIn: https://www.linkedin.com/company/wbweb/

Be our Exclusive student / Patreon to receive Exclusive Coding Tips and Freelancing opportunities
Patrons: https://www.patreon.com/wbweb

—————————-

Got a question on the topic? Please share it in the comment section below and our experts will answer it for you.

For more information, please write back to us at hi@wbweb.co.in or call us at IND: 7077568998

After completing the course, write to biswabijaya@wbweb.co.in for an internship or Full stack web development based freelancing opportunities.

For consultation or partnership, related queries drop a mail to hi@wbweb.co.in.