Learning and Communication in PHP
In PHP writing you will see a lot of fixed use keywords and characters like $ <tr></tr> <td></td>
<li></li> and the following are some of the people who think that common use of sharing
Font design and Effects:
<i></i> used to mark text italic;
<b></b> used to mark text bold;
<u></u> to mark text underline;
<strong></strong> is also used to mark the text bold;
<em></em> is also used to mark text italics;
<sub></sub> used to mark the text subscript display;
<sup></sup> is used to mark the text on the label display.
Label
Use
Title with
<p></p>
Paragraph with
<br/>
For line breaks
<pre></pre>
Pre-formatted labels
<i></i>, <b></b>, <u></u>, <strong></strong>, <em></em >, <sub></sub>, <sup></sup>
Used to apply various formats to text, such as bold, italic, underline, subscript, superscript, etc.
<font></font>
Font labels
<ul></ul>, <ol></ol>
List with
Horizontal line Label
You'll use it when you make the form.
The form is done through <table></table>, <tr></tr>, <td></td> tags.
Table Size Keywords
Width
The width of the table, which can be expressed in pixels or percentages
Height
The height of the table can be expressed in pixels or percentages
Align
Horizontal alignment of the table on the page
Bgcolor
Background color of the table
Border
The border thickness (in pixels) of the table, which can be set to 0
BorderColor
Border color of table
CellSpacing
Spacing between cells
cellpadding
Spacing between contents and cells in a table
Finally, the difference between single and double quotes in PHP:
1, strings can be enclosed in single quotation marks with no length limit but strings with double quotes have stronger capabilities such as identifying variables in a string to identify more escape characters:
<?php
echo ' Simple expression <br/> ';
$i = 10;
Echo ' I can identify this variable: $i ';
?>
If the result of using double quotation marks is I can recognize this variable: 10
If I use single quotation marks to display the results I can identify this variable: $ia
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service