Home > Article > Web Front-end > Which tags in HTML have borders?
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.
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.Example:
HTML
HTML 是用于描述 web 页面的一种语言。
CSS
CSS 定义如何显示 HTML 元素。
It can be seen that it is just a black line, which is not beautiful at all, let alone using
For example, set the thickness (bold) and color of hr
##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).4. select
The select element can create a single-select or multi-select menu.
TheThe 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!