HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
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

821. CSS padding-top property - CSS tutorials - w3resource

https://www.w3resource.com/css/padding/CSS-padding-top-property.php

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

1925. CSS code, Tags, Example, CSS, Editor, Online Courses, Training
Online CSS Tutorial pdf, what is CSS, Online Courses, Classes, Training, Tutorials for Beginners - agernic.com is a free interactive Code, Tags, Example, CSS, Editor, Online Courses, Training for beginners
http://www.agernic.com/css-tutorial.html

2234. CSS Tutorial - Margin, Border and Padding
Border color is one of the most used when working with borders. Just use border-color attribute to set a color for your border. The values for this attribute is a hexadecimal or RGB value, or even a pre-established name.
https://tutorialehtml.com/en/css-tutorial-margin-border-and-padding/

3180. CSS align image center - how to create, css tutorial
CSS align image center - how to create css tutorial
https://www.agernic.com/css-tutorial/css-align-image-center-how-to-create.html

2226. CSS Tutorial - Build a navigation bar
Normally to create a navigation bar (horizontal or vertical menu) the HTML lists are a good start point. You can then use CSS to give it some awesomeness. You will also use a link inside the li element. So let
https://tutorialehtml.com/en/css-tutorial-build-a-navigation-bar/

Your add here
How to get PHP errors to display?
How to prevent sql injection in php mysqli
How do I get PHP errors to display - PHP error_reporting()
mysql_query(): The mysql extension is deprecated and will be removed i
Function eregi_replace() is deprecated in php - How to fix
PHP delete an element from an array
Uncaught Error: Call to undefined function MYSQL_NUM_ROWS() in
Deprecated: mysql_connect() mysql extension is deprecated and will be
mysqli_fetch_array() expects parameter 1 to be mysqli_result boolean g
SQL IN Operator - example
SQL BETWEEN Operator
SQL like syntax and example
SQL WHERE AND & OR multiple conditions
SQL create table primary key autoincrement
PHP mysqli_connect () Function
SQL COUNT(), AVG() and SUM() Functions
Display data from SQL database with MySQLi into php - html table
SQL CREATE DATABASE - example
SQL mysql order by columns, by date, by asc, by desc, random with PHP
PHP mysqli_query() Function - mysqli query
SQL delete row - SQL delete table
SQL update - SQL update select
Insert into SQL - Insert into table SQL - Insert data in sql
Login in PHP - simple login script with PHP MYSQL