HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS Tutorial

CSS Text Style - Text Font Size - Text Align

CSS text properties allow to establish several CSS text styles such as: text size font, alignment, color, spacing, decoration etc. easily an effectively.

CSS Text Font Size

The text font size property is used to set how big or small will be the text of your page. CSS text font size is specified by:
font-size - like "12px or 16px or 36px how you like"
font-size - like "small, medium or large - like"
font-size - like "x-large or xx-large"
Example 1:
div-box1
{
font-size: 18px;
width: 450px;
height: 210px;
border: 1px solid #73AD21;
background-color: red;
}

CSS Text Style

The text style property is used to set font-style: as normal, italic or oblique the text of your page. CSS text style is specified by:
font-style - like "normal"
font-style - like "italic"
font-style - like "oblique"
Example2:
div-box2
{
font-style: italic;
font-size: 18px;
height: 450px;
max-height: 250px;
border: 1px solid #73AD21;
background-color: red;
}

CSS Tsxt Align

The text-align property is used to set the horizontal alignment of a text as left, right, centered or justified.
Example3:
div-box3 {
width: 50%;
height: auto;
}
h1 {
text-align: center;
}
p {
text-align: left;
}
For text-align: justify, each line is stretched - every line has equal width.

CSS Text Style, Text Font Size and Text Align CSS Text Style - Text Font Size - Text Align - css tutorial

2607. The Complete CSS tutorial
The Complete CSS tutorial
http://www.echoecho.com/css.htm

3179. CSS align content Property - CSS align text - how to create, css tutorial
CSS align content Property - CSS align text - how to create css tutorial
https://www.agernic.com/css-tutorial/css-align-content-property-css-align-text-how-to-create.html

2805. CSS Border Style Width and Color, css tutorial
CSS Border Style Width and Color css tutorial
http://www.agernic.com/css-tutorial/css-border-style-width-and-color.html

3187. CSS Padding, top, bottom, left, right, css tutorial
CSS Padding, top, bottom, left, right css tutorial
https://www.agernic.com/css-tutorial/css-padding-top-bottom-left-right.html

824. Introduction to CSS user interface - CSS tutorials - w3resource

https://www.w3resource.com/css/user-interface/introduction.php

2229. CSS Tutorial - Display and visible
display:none; hides the paragraph and will NOT keep the space reserved to this element in the course of the document. All other elements will occupy the space reserved to this element and will act as if the element didn
https://tutorialehtml.com/en/css-tutorial-display-and-visible/

Your add here
PHP strstr() function

PHP isset() Function

PHP ltrim() function

PHP define() function

PHP str_split() function

PHP md5() function

PHP implode() function

PHP strtoupper() function

PHP str_replace() function

PHP strlen() function

PHP strcmp() function

PHP substr() function

PHP empty() Function

PHP wordwrap() function

PHP print() function

PHP ucfirst() function

SQL create table primary key autoincrement
HTML Table Rowspan and Colspan
HTML Font Color
HTML comment one line and multiple lines
SQL WHERE AND & OR multiple conditions
CSS Text Wrap