PHP learning and communication In writing PHP you will see many fixed keywords and characters like $
< ;/li & gt; wait for several people who think of commonly used sharing below Font design and effect:
& lt; i & gt; & lt;/i & gt; used to mark the text oblique body;
& lt; b & lt;/b & gt; To mark the text bold; & & lt; u & gt; & lt;/u & gt; use to mark the lines of text;
& lt; strong & gt; & lt;/strong & gt; ; is also used to mark text in italics;
< Superscript is displayed.
for paragraphs
Use for line breaks
Pre-formatted tags
, , , Such as bold, italics, underline, subscript, superscript, etc.
Font tag
, Lists use
Horizontal line labels
using ;、
tag. Table size keyword
Width The width of the table, which can be expressed in pixels or percentages Height The height of the table, which can be expressed in pixels or percentages Align The horizontal alignment of the table on the page Bgcolor The background color of the table Border The border thickness (pixels) of the table can be set to 0 Bordercolor The border color of the table Cellspacing The spacing between cells Cellpadding The spacing between the content in the table and the cells
Finally Let’s look at the difference between single quotes and double quotes in PHP: 1. Strings can be enclosed in single quotes or double quotes. There is no length limit, but strings using double quotes have stronger capabilities. For example, they can identify variables in the string. More escape characters: echo' simply means '; $i=10; echo' I can recognize this variable: $i'; ?> If double quotes are used, the displayed result is I can identify this variable: 10 If single quotes are used, the displayed result is I can identify this variable: $ia
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn