Some CSS and JavaScript also have HTML property methods and tags

Source: Internet
Author: User
Tags class definition floor function null null switch case

span a non-semantic inline label

Base this tab to set the default jump mode for hyperlinks

Title when it is a label used to define the name of the site, when it is a property can be used to set the picture of the prompt text

Class name for the label of class definition

ID defines the ID name of the label

Active is used to set the pseudo-class of the style when the element is activated, it is generally not recommended to implement the behavior layer using pseudo-class

Stylesteet Cascading Style Sheets

Focus sets the pseudo-class of the style when the element gets focus, nor does it recommend using the

Visited to set the pseudo-class of a style after a hyperlink is accessed

Target sets the way in which hyperlinks are redirected

_blank is a value of target, set to open in a new window

_self is also a value for the target property, set to open in its own window

document.write How to write content in a document in JavaScript

How to print content in the console in Console.log JavaScript

Alert JavaScript method for popping a warning box

Prompt JavaScript pops a way for the user to enter a dialog window for a box

Confirm JavaScript POPs A dialog window with a confirmation and Cancel button

The width defines the element's widths, CSS and HTML, but the properties involved in the style are no longer written in HTML, so I'm not going to mention the attributes in the HTML.

Height defines the heights of the elements

Font-weight the weight of the font

Style defines tags embedded in CSS styles

For while two are loops and there is a do while function is similar, but generally know that the number of loops will be used for the loop, do not know the number of cycles will use while does while loop

Switch case If both are SELECT statements usually switch is used in conjunction with break,

Break jumps out of the loop

Borde defining the border style of an R element

Left float right floating around

Solid dashed border style values

Line-height Line Height

padding inner margin

margin outer margin

Text-align how text is aligned

Value of center alignment

Absolute relative absolute and relative for positioning

Hover to set the pseudo-class of the mouse hover style

Hidden hidden, can hide elements and can hide overflow content in elements

Visibility setting whether an element is visible

Overflow what happens when an element content overflow is specified

Vertical-align to set the vertical alignment of the picture with the text in the parent container

Text-decoration Setting the decoration of text

Outline-style sets the style of the outer line where the element gets the focus

Position setting the positioning of elements or background images

Font Word

Size sizes

Family fonts

Clear to remove the effect of floating on the layout

Both the value of clear

Content contents

Display setting elements in a realistic way

Value of inline block and block display

Bold Bold

Normal.

None No

A data type of NULL null JavaScript

Opacity setting the transparency of an element

A value of transpatent border, which stipulates that border is transparent.

Border-radius the radian of the border

Top bottom up and down

List-style the style of the specified list

Type specifies the attributes of the types of elements

typeof method of getting a value data type in JavaScript

How to get the Y power of x in Math.pow JavaScript

Math.floor floor function

Math.ceil Ceiling function

Math.max Maximum Value function

Math.min Minimum Value function

Math.Abs Absolute Value function

Math.Round Rounding function

Math.random get a function of 0 to 1 as a random number

Color foreground color

Background background color

Word-spacing the spacing between text

letter-spacing spacing in letters in a word

Link HTML tags for Chinese and foreign chains

tags in script HTML that specify JS

Methods for converting the data type of an element to a string type in. toString javascript

Stringjavascript method to convert the data type of an element to a string type

Method of converting the data type of an element to a numeric type in number JavaScript

Undefined declaring a data type that is not assigned a value

Boolean Boolean value

The NaN itself is a special number type of data. To oneself is not equal to oneself. is a type when the data is not a rational number

parseint JavaScript Converts the data type of an element to a method of shaping a numeric type

Parsefloatjavascript method to convert the data type of an element to a floating-point number type

SRC path

HREF address

Static statically.

Fixed set of

Placeholder Placeholder

Repeat Tile

Text-indent First line text indent

Input form Labels

CheckBox check box

Password ciphertext input Box

Radio Radio Box

Text textbox

Reset Reset button

Submit OK button

button One of the custom buttons

Value Default Value

Inherit attribute that specifies that the style inherits from the parent element

Select drop-down table

Options in the Option drop-down table

Scroll adds a drop-down bar to the element to show the part of the hidden overflow element

Table Table Label

A form that specifies the form in a group and where to submit the label

Caption The title label of the table

Auto-Automatic

Continue jumps out of the current loop to perform the next loop

Italic italic Word

Some CSS and JavaScript also have HTML property methods and tags

Related Article

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.