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.<form action="#"> 用户名: <input type="text" name="name"><br> 密 码: <input type="password" name="password"><br><br> <input type="submit" value="提交"> </form>
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:
<h1 id="HTML">HTML</h1> <p>HTML 是用于描述 web 页面的一种语言。</p> <hr> <h1 id="CSS">CSS</h1> <p>CSS 定义如何显示 HTML 元素。</p>
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
<hr style="max-width:90%"/><!--修改的样式--> <br /> <hr /><!--默认的样式-->
##3, textarea
< The 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).<textarea rows="10" cols="30">我是一个文本框。</textarea>
4. select
The select element can create a single-select or multi-select menu.
The
Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
