Quick query of HTML tags and ASP Functions

Source: Internet
Author: User

HTML file tag
<Html>
<Head>
<! -->
<Title>
<Body>

Text typographical mark
<Br/>
<Nobr>
<P>
<Pre> original text style
<Center>
<Blockquote> inwards
<H> title
<Strong>, <B> bold
<Em>, <I>, <cite> Italic
<U> bottom line
<Strike> strikethrough
<Blink> text flashing
<Big> large font
<Small> small font
<Sup> text tagging
<SUB> text subscript
<Basefont> default font settings
<Font> change font settings

Menu tag
<Menu> option menu
<Dir> directory menu
<Lh> menu format (1)
<Ul> menu format (2)
<Dl>, <dt>, <dd> description menu
<Ol>, <li> Title menu

Line and table Markup
<Hr>
<Table>
<Tr>
<Td>
<Th>
<Caption> table title

Hyperlink tag
<A> anchor

Graphic Markup
insert a graph

Frame tag
<FRAME> define the framework content
<NOFRAME> the framework declaration is not supported.

Form tag
<FORM>
<INPUT>
<TEXTAREA>
<SELECT>
<OPTION>

SCRIPT
<Script>

VBSCRIPT tag Index

Basic operations
+ Number Addition and string connection
-Subtraction of numbers
* Number multiplication
/Digital Division
Mod evaluate the remainder
\ Calculate the number of vendors
& String connection
^ Power
= Equal
<> Not equal
> = Greater than or equal
> Greater
<= Less than or equal
<Less
Not
And
Or
Xor exclusive or

Loop and decision-making
If... then...
If... then... else if... then... not
Else if... not if
Select case... group selection conditions
End select
For... next count Loop
While... wend condition loop (1)
Do while... loop conditional loop (2)
Do... loop while condition loop (3)
Do until... loop conditional loop (4)
Do... loop until conditional loop (5)

Mathematical functions
Abs absolute value
Sgn plus and minus signs
Hex to Hex
Convert Oct to octal
Square root of Sqr
Int is an integer.
The Fix is an integer.
Round is an integer.
Base-e Log logarithm
Sin sine function
Cos cosine function
Tan tangent function

String processing functions
Len String Length
Partial string for Mid
Left: Part of the string starting with the string
Right: extract part of the string from the end of the string.
Lcase to lowercase
Convert Ucase to uppercase
Trim clears space characters at the beginning and end of a string.
Ltrim clears space characters starting with a string
Rtrim clears space characters at the end of a string
Replace to Replace some characters in the string
Instr determines whether it is contained in another string (from the start search)
Rev judge whether it is contained in another string (search from the end)
Space characters of any number of characters
Any character of any number of characters in String
StrReverse reverse string
Split Splits a string by a character.

Data Type Conversion Function
Cint to integer
Cstr to string
Clng to a constant integer
Convert Cbool to a Boolean Function
Cdate to date function
CSng to single precision
CDbl conversion to dual precision

Date and Time Functions
Date current Date
Time now Time
NOw Date and Time
DateAdd addition date
DateDiff two date difference
DateSerial date setting
Datevalue date setting
Year current Year
Month current Month
Day
Hour current time
Minute now in minutes
Second current Second
Timer midnight seconds from now
TimeSerial time setting
Timevalue
WeekDay week name
MonthName month name

Other functions
Array
Asc ASCII code
Chr ASCII characters
Filter Array
InputBox input window
Join to merge elements in an array
MsgBox Information Window
Lower bound of the Lbound Array
Upper Bound of Ubound Array

Command
Const constant
Dim defines variables or Arrays
Erase clear Array
ReDim redeclares the Array
Random Number starting from Randomize
Rnd random number acquisition

ASP object

Session Object
IsEmpty
TimeOut: sets the Session variable lifecycle.
Abandon force clear Session Variables

Application Object
IsEmpty
Lock Application variable
Unlock: Unlock the Lock command

Cookie object
Expires

Connection object
Open connection to database
Execute to open the Recordset object
Close Connection object

Recordset object
Movefirst moves the record pointer to the first
Movelast moves the record pointer to the last one
Movenext moves the record pointer to the next
Moveprevious move the record pointer to the previous
Whether bof is the start of recordset
Whether the eof test is the end of recordset
Open Recoreset object
Close the recordset object
The sub-object that fields reads data from.
Fileds. count field count
Pagesize number of records per page
Absolutepage is set to a page
Total pagecount pages
Absoluteposition jump directly to a record

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.