Home  >  Article  >  Web Front-end  >  Which tags in HTML have borders?

Which tags in HTML have borders?

青灯夜游
青灯夜游Original
2022-01-21 16:03:085064browse

Bordered tags in HTML: 1. input tag, used to specify input fields in which users can enter data; 2. hr tag, used to insert a horizontal line; 3. textarea tag, used to define A multi-line text input control; 4. Select tag, used to create single-select or multi-select menus.

Which tags in HTML have borders?

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

Tags with borders in HTML:

##1、input

Labels specify input fields into which users can enter data.

用户名:
密 码:

Which tags in HTML have borders?

##2. hr


tag defines theme changes in HTML pages ( such as topic transfer) and displayed as a horizontal line. The


element is used to separate content in an HTML page (or to define a variation).

Example:

HTML

HTML 是用于描述 web 页面的一种语言。


CSS

CSS 定义如何显示 HTML 元素。

Which tags in HTML have borders?It can be seen that it is just a black line, which is not beautiful at all, let alone using


to make the page beautiful. This requires using css border to set the style of hr.

For example, set the thickness (bold) and color of hr




Which tags in HTML have borders?##3, textarea

tag defines a multi-line text input control.

The text area can hold an unlimited amount of text, and the default font for the text is a fixed-width font (usually Courier).

Which tags in HTML have borders?4. select

The select element can create a single-select or multi-select menu.

The

Related recommendations: "Which tags in HTML have borders?html video tutorial

"

The above is the detailed content of Which tags in HTML have borders?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn