Important keywords in HTML

不言
Release: 2018-05-03 14:27:22
Original
5461 people have browsed it

This article mainly introduces the important keywords in HTML, which has certain reference value. Now I share it with everyone. Friends in need can refer to it

bgcolorWeb page color
background background image
br Line break
hr Horizontal line
id Unique name
class Class (same country)
font Controls the display appearance of web page text
Alt attribute in img: used to display in images Prompt text information on
ol ordered list
ul unordered list list-style remove bullets
pre tag: used to display text that has been formatted in the html code
marquee scrolling label
Usage:
table table attribute settings:
colspan multi-column rowspan multi-row ...
Distance between text and border: cellpadding
Inner frame width between cousin and cousin: cellspacing
from form method select post or get post security action attribute
input text text password password checkbox checkbox in the type option of the input form element radio radio buttonchecked=checked Default selected
select list box option list box label select at least one option
Normal button button Submit button submit reset button reset
Multi-line text box textarea cols rows its attributes
frame window link


Special windows in hyperlinks_blankOpen a new window link_selfOpen the same window with the default value_parentOpen in the previous window_topOpen in the entire browser
Hyperlinks need to be noted that, for example, if you jump from the head to the bottom, you can name a label at the bottom with the name attribute, and then jump to the link label name

##text-decontion Remove underline from hyperlink

z-index cascading sequence number
position positioning method value absolute positioning determines the position with the left attribute and top attribute


float floating left and right determine whether to float left or right
line-height line height cooperates with hight to achieve vertical centering


The above is the detailed content of Important keywords in HTML. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template