HOME | PHP Tutorial | CSS
facebook icon
HTML Tutorial

CSS Tutorial

A browser read absolutely all you write in the HTML document. Tags have three parts as I said before, the opening, closing and content.

As you will learn there are hundreds of HTML tags. Absolutely all the elements that will be displayed by a browser need a tag or two.


Tags are written in small letters. This is the standard of writing in XHTML, and Dynamic HTML.

Above are some examples of tags in HTML.

<!--acts as a capsule on the content.-->

	<h2>Title (heading)< h2>
	<i>italic</ i>


Exceptions - tags that do not require closing tag

There are some tags that do not meet the model shown above.The reason is that in fact these tags do not have content. Due to this fact we will use a modified manner of writing these tags.

The simplest example is "linebreak"


This tag is combining the two tags, opening and closing.This way is more efficient to use. Line break is used to tell the browser that we want to get down a line below, but not closing paragraph.

Following this example, other tags have been modified to be write in a simpler and quicker way.

HTML<img src="../img/image.jpg" /> -- Image Tag --

<br /> -- Line Break Tag --

<input type="text" size="12" /> -- Input Field --

As you can see the browser is able to reproduce the image as long as we provide the location using the attribute "scr". More about this in the next tutorial.

HTML Tutorial - Tags and attributes - html tutorial

3345. HTML div border color, html tutorial
HTML div border color html tutorial

3202. HTML div style - div style class, html tutorial
HTML div style - div style class html tutorial

2320. HTML Tutorial - <body> tag. Web page content
La balise body, en alignant le contenu d

2648. Hexcolors : RGB Colors - HTML Tutorial
HTML hexcolors - HTML tutorial

3017. HTML
HTML tutorials, examples, and general words of wisdom!

2679. Metatags : Search Engines - HTML Tutorial
HTML metatags - HTML tutorial

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