mgibson Blog Banner

mgibson

I attend my first PHP class

I joined a professional course called LAMP, which includes Linux, Apache, MySql, and PHP. I attended my first class on 4th July, 2017, where I learned some basic html tag.

HTML Text Formatting 

<head>

<title>Hello World</title>

</head>

<body>

<i>hello world</i><br/>   <!--italics-->

<b>hello world</b><br/>   <!--bold-->

<u>hello world</u><br/>   <!--underline-->

<big>hello world</big><br/>   <!--increase in font size-->

<small>hello world</small><br/>   <!--reduce the font size-->

<q>hello world</q><br/>    <!--double quotes-->

<em>hello world</em><br/>    <!--same as italics-->

10<sup>0</sup><br/>    <!--superscript-->

H<sub>2</sub>0<br/>    <!--subscript-->

<strong>hello world</strong><br/>    <!--same as bold-->

<hr/>    <!--horizontal rule-->

<blockquote>hello world</blockquote><br/>

</body>

HTML Heading

<head>

<title>Heading</title>

</head>

<body>

<h1>Hello World</h1>

<h2>Hello World</h2>

<h3>Hello World</h3>

<h4>Hello World</h4>

<h5>Hello World</h5>

<h6>Hello World</h6>

<h1 align="center">Hello World</h1>

<h2 align="left">Hello World</h2>

<h3 align="right">Hello World</h3>

</body>

Paragraph Alignment

<head>

<title>paragraph</title>

</head>

<body bgcolor = "green" text = "white">

<p align = "left"></p>

<p align = "center"></p>

<p align = "right"></p>

<p align = "justify"></p>

</body>

Ordered List

<head>

<title>Ordered List</title>

</head>

<body>

<ol>

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

<ol type = "1" start = "6">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

<ol type = "A">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

<ol type = "a">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

<ol type = "i">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

<ol type = "I">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

</ol>

</body>

Unordered List

<head>

<title>Unordered List</title>

</head>

<body>

<ul>

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

 </ul> 

 <ul type = "disc">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

 </ul>

 <ul type = "square">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

 </ul>

 <ul type="circle">

 <li>Mango</li>

 <li>Apple</li>

 <li>Banana</li>

 <li>Grapes</li>

 </ul>

</body>

Table Alignment

<head>

<title>Table alignment</title>

</head>

<body>

<table border = "1" align = "">

<tr>

<th>Name</th>

<th>Class</th>

<th>Age</th>

</tr>

<tr>

<td>Rajiv</td>

<td>None</td>

<td>39</td>

</tr>

<tr>

<td>Rahul</td>

<td>9</td>

<td>16</td>

</tr>

<tr>

<td>John</td>

<td>None</td>

<td>50</td>

</tr>

</table>

<table border = "1" align = "center">

<tr>

<th>Name</th>

<th>Class</th>

<th>Age</th>

</tr>

<tr>

<td>Rajiv</td>

<td>None</td>

<td>39</td>

</tr>

<tr>

<td>Rahul</td>

<td>9</td>

<td>16</td>

</tr>

<tr>

<td>John</td>

<td>None</td>

<td>50</td>

</tr>

</table>

<table border = "1" align = "right">

<tr>

<th>Name</th>

<th>Class</th>

<th>Age</th>

</tr>

<tr>

<td>Rajiv</td>

<td>None</td>

<td>39</td>

</tr>

<tr>

<td>Rahul</td>

<td>9</td>

<td>16</td>

</tr>

<tr>

<td>John</td>

<td>None</td>

<td>50</td>

</tr>

</table>

</body>

Table cellpadding & cellspacing

<head>

<title>Table cellpadding & cellspacing</title>

</head>

<body>

<table border = "1" align = "center" height = "50%" width = "800" cellpadding = "50" cellspacing = "50">

<tr>

<th>Name</th>

<th>Class</th>

<th>Age</th>

</tr>

<tr>

<td>Rajiv</td>

<td>None</td>

<td>39</td>

</tr>

<tr>

<td>Rahul</td>

<td>9</td>

<td>16</td>

</tr>

<tr>

<td>John</td>

<td>None</td>

<td>50</td>

</tr>

</table>

</body>

Follow me


Return from to mgibson's Web3 Blog

I attend my first PHP class was published on and last updated on 06 Jul 2017.