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 entry-level knowledge points of html

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

In this article, the editor introduces in detail "what are the introduction to html knowledge points", the content is detailed, the steps are clear, and the details are handled properly. I hope this article "introduction to html knowledge points" can help you solve your doubts.

1. Brief introduction of html:

What is 1.html?

Html is a language used to describe web pages.

The simple abbreviation is html, Hyper Text Markup Lunguage.

The writing structure of 2.html

The structural features of the 3.html tag:

(1) html tags appear in pairs of keywords wrapped in angle brackets, with opening and closing tags to support correct nesting

(2) most tags have attributes and formats.

(3) html is case-insensitive.

Introduce the basic tags in html

1. File label

two。 Typesetting style

1. Annotation styl

two。 Newline label

3. Paragraph label

4. Horizontal line label

Attributes:

Width: length

Size: roughness

Color: color

Aligan: alignment

How to write the size:

Pixels: px

Percentage: percentage of sub-label

3. Block label

Row-level block label / div+css layout /

Inline block label

4. Text label

Basic text label

Attribute: color: color

Size: siz

Face: font typ

Title label:

5. List label

1. Unordered list

Attribute: type: (numbers, letters, Roman numerals)

Start: a number that represents the starting position of the first item

two。 Ordered list:

Attribute: type: (numbers, letters, Roman numerals)

Start: a number that represents the starting position of the first item

6. Drawing list

Attributes:

Scr: graphic addr

Width: width

Height: height

Border: broadening

Align: alignment

Alt: picture text description

7. Link label

Jump page address: href

Name, anchor point: name

Function:

(1) the page is redirected. You must add a protocol to transfer to the public network.

(2) visit the anchor point and return to the anchor point (top, bottom, middle)

8. Form label

Attributes:

Border: table border

Width: table width

Height: table height

Align: alignment

Bgcolor: background color

Representative bank:

Representative column:

Attributes:

Column merge: colspan

Row merge: rowspan

Is equivalent to the column, but the built-in style is centered

: meter head

The function of the form:

(1): simply implement a table style

(2): page layout

Exampl

three. Html form label

1.form tag:

Attributes:

Name: form name

Action: path address of the submission

Method: submission method (post and get)

Post: submit encapsulates the data in the request body without limiting the size

Get: add data to the end of the address bar with a limited size

2.input tag:

Type attribute:

Ordinary text input box

Name

Password: password input box

Radio: radio button

Attributes:

Name: if you want a set of radio buttons to be mutually exclusive, specify the agree name attribute value and add the value attribute value

Checked: selected by default

Check box:

Name: the concept of group, which needs to add the value of value

Selected by default

Controls for uploading files

Ordinary buttons without any built-in functions

Built-in function, click will be submitted according to the action address

: reset, click to clear the content you filled in before

Picture button

Attributes:

Src: loading pictures

Alt: the prompt text for a picture

Hide the form

3.select tag

Attributes:

Name: name of the form item

Option: optional (cascading between drop-down menus)

Attribute: value: the value of the form item

Selected: selected by default

4.textarea: text field label

Attributes:

Cols: number of columns

Rows: number of Lin

four. Html frame tags and others

1. Frame label

Attributes:

Rows: by row

Cols: divided by column

Attributes:

Name: name

Src: the address where the page is loaded

two。 Other tags:

3. Special character

: space

Greater than sign

Less than sign

Copyright symbol

Registration symbol

After reading this, the article "what are the basic knowledge points of html" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, welcome to follow the industry information channel.

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