Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common codes of HTML

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what the commonly used HTML code is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

1.HTML Base label

Head,body

Style of body: bgcolor (background color)

2.HTML title

... (waiting for labels to be defined, etc.)

Style: align (in its way)

3.HTML paragraph

Tag definition paragraph

Line feed (empty element)

4.HTML link

Label definition link

Style: target (specify where to open the link)

5.HTML image

Label definition image

6. Common properties:

Class (specifies the class name of the element)

Id (specifies that the element is unique ID)

Style (specifies the style of the element)

Title (additional information about the specified element)

Color (color)

Width (wide)

Height (high)

7.HTML formatting label

(define bold text)

(define large characters)

(define emphasis text)

(define italics)

(define small words)

(define emphasis)

(define subscript)

(define superscript)

(define insert word)

(definition deletion)

8.HTML style

1. Label:

: style definition

: resource reference

2 attributes:

Rel= "stylesheet": external style sheet

Type= "text/css": the type of incoming document

Margin-left: margin

9.HTML form

(define form)

(define table title)

(define the header of the table)

(define the rows of the table)

(define the cells of the table)

(define the header of the table)

(define the body of the table)

(define the footer of the table)

(define the column properties of the table)

Style: border (border of table)

Caption (title of the table)

(list)

Cellpadding (cell margin)

Cellspacing (spacing between cells)

10.HTML list

(ordered list)

(no sequence table)

(list items)

(list)

(list items)

(description)

1. Unordered list

Type

Use tags:

Attributes: disc (default), circle (hollow), square (square)

Iok

]

79 /; the 3.HTML element of the 0

Elements are also called block elements, which are mainly containers that combine HTML elements

4.HTML element

Elements are inline elements that can be used as containers for text

12.THML form

1. Forms are used to get different types of user input

two。 Common form tags:

(form)

(input field)

(text field)

(control label)

(define domain)

(title of domain)

(select list)

(option group)

(options in the drop-down list)

(button)

Various buttons: (check button)

(radio button)

(password box)

13.HTML framework

1. Frame label (frame):

Framework plays an important role in page design.

two。 Frameset label ()

Frameset tags define how windows are divided into frames

Each frameset defines a series of rows and columns

The value of rows/cols specifies the area of each row and column occupying the screen (obsolete)

3. Commonly used labels:

Noresize: fixed frame siz

Cols: column

Rows: OK

4. Inline framework

Iframe

JavaScript operator

1. Arithmetic operator

+. -. *。 %. /. + +. --

two。 Assignment operator

=. + =. -=. * =. / +. % =

3. String operation: J = "" (add a "")

4. Comparison operator:

=. =. ! =. ! =. >. =.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report