Tag Name Code Example Browser View: (Tip) Visit Our Site (Tip)
Tag Name Code Example Browser View: (Tip) Visit Our Site (Tip)
<!-- comment <!--This can be viewed in the HTML part of a document--> Nothing will show (Tip)
<BODY> body of document <BODY>The content of your page</BODY> Contents of your webpage (Tip)
<DL>
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
<DD> definition description
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
</DL>
<DL>
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
<DL> definition list
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
</DL>
<DL>
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
<DT> definition term
<DT>Definition Term Definition Term
<DD>Definition of the term Definition of the term
</DL>
<HEAD> heading of document <HEAD>Contains elements describing the document</HEAD> Nothing will show
<HR> horizontal rule <HR WIDTH="50%" SIZE="3" NOSHADE> Contents of your webpage
Contents of your webpage
<HTML><HEAD><META><TITLE>Title of your
<HTML> hypertext markup language webpage</TITLE></HEAD><BODY>Webpage Contents of your webpage
contents</BODY></HTML>
Example 1:
Example 1: (Tip)
<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<INPUT> input field
<INPUT type="text" size="10" maxlength="30">
Submit
<INPUT type="Submit" VALUE="Submit">
</FORM>
Example 2:
Example 3: (Tip)
Example 3:
Example 4: (Tip)
Example 4:
Example 5:
Example 6: (Tip)
Select an option:
Example 6:
Option 1
<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
Select an option:<BR>
<INPUT type="radio" name="option"> Option 1 Option 2
<INPUT type="radio" name="option" CHECKED> Option 2
<INPUT type="radio" name="option"> Option 3 Option 3
<BR>
<INPUT> input field
<BR> Select an option:
Select an option:<BR>
<INPUT type="checkbox" name="selection"> Selection 1
Selection 1
<INPUT type="checkbox" name="selection" CHECKED> Selection
2
<INPUT type="checkbox" name="selection"> Selection 3 Selection 2
<INPUT type="Submit" VALUE="Submit">
</FORM> Selection 3
Submit
Example 2:
Example 2:
<OL type="i">
<LI>List item 1
<LI>List item 2 i. List item 1
<LI>List item 3 ii. List item 2
<LI>List item 4 iii. List item 3
</OL>
iv. List item 4
<MARQUEE>
<MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="2"
(Internet scrolling text ? Example (Tip)
width="100%">Example Marquee</MARQUEE>
Explorer)
List item 1
<MENU>
<LI type="disc">List item 1
<MENU> menu <LI type="circle">List item 2 o List item 2
<LI type="square">List item 3
</MENU>
List item 3
<META HTTP-EQUIV="Refresh"
<META> meta Nothing will show (Tip)
CONTENT="4;URL=http://www.yourdomain.com/">
Example 1:
Example 1:
<OL> 1. List item 1
<LI>List item 1 2. List item 2
<LI>List item 2 3. List item 3
<LI>List item 3 4. List item 4
<LI>List item 4
</OL>
<OL> ordered list Example 2:
Example 2:
a. List item 1
<OL type="a"> b. List item 2
<LI>List item 1 c. List item 3
<LI>List item 2
<LI>List item 3
<LI>List item 4 d. List item 4
</OL>
<P> paragraph This is an example displaying the use of the paragraph tag. <P> This is an example displaying the use of
This will create a line break and a space between lines. the paragraph tag.
Attributes:
This will create a line break and a space
Example 1:<BR> between lines.
<BR>
<P align="left"> Attributes:
This is an example<BR>displaying the use<BR>of the paragraph
tag.<BR><BR></P> Example 1:
Example 2:<BR>
<BR> This is an example
<P align="right"> displaying the use
This is an example<BR> of the paragraph tag.
displaying the use<BR>
of the paragraph tag.<BR> Example 2:
<BR></P>
Example 3:<BR> This is an example
<BR> displaying the use
<P align="center"> of the paragraph tag.
This is an example<BR>
displaying the use<BR>
of the paragraph tag. </P> Example 3:
This is an example
displaying the use
of the paragraph tag.
Example 1:
MySQL also has the capability of modifying data already entered into the table.
This is accomplished through the UPDATE command. Result:
All records containing the partial string "Bugs Bunny" will be displayed to the
mysql> UPDATE test SET name = 'Daffy Duck' screen. This would include such names as: "Bugs Bunnys", "Bugs Bunnyyyy453",
mysql> WHERE name = "Bugs Bunny"; "Bugs Bunnytrtrtrtrtr", but not "gs Bunny".
• Comparison operators
= Equals
< Less than
<= Less than or equal to
> column2');"Greater than
>= = column2');"Greater than or equal to
<> column2');"Not equal to
!= Not equal to
LIKE Compare strings
• Mathematical operators
() Use parentheses to force precedence
+ add
- subtract
* multiply
/ divide
% modulo
• Conditional operators
|| Logical "or"
| Bitwise "or"
OR Same as Logical "or"
&& Logical "and"
& Bitwise "and"
AND Same as Logical "and"