Home > Web Front-end > HTML Tutorial > [HTML Beginner] 2. HTML attributes_html/css_WEB-ITnose

[HTML Beginner] 2. HTML attributes_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:00:02
Original
1313 people have browsed it

HTML Attributes

The

attribute provides additional information to HTML elements.

HTML tags can have attributes. Attributes provide more information about HTML elements.

Attributes always appear as name/value pairs, for example: name="value".

The

attribute is always specified in the opening tag of an HTML element.

============================================== ======

Attribute instance

HTML links are defined by the tag.

The link address is specified in the href attribute:

This is a link

================================================ ======

Attribute example 2:

defines the body of the HTML document.

Has additional information about the background color.

============================================== ========

The settings of these attributes are familiar in the android xml file

For example: android:background="#ff0000"

Settings Various properties of the control

============================================ ===========

In addition, I also got a copy of the HTML attribute manual from Baidu. I can’t put attachments here. Anyway, I found it from Baidu Wenku

《= =================END======================》

HTML

Found this page You can also use HTML to edit, feel free to use it. . .

Related labels:
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