About HTML semantics and standardization_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:06:07
Original
943 people have browsed it

HTML language is very simple, every programmer says so.

It is indeed simple, so 99% of those who say they understand HTML will ignore many details.

When I wrote this blog post, I was on the way to learning JS, but found that I once thought I was best at HTML, but now I am embarrassed to say that I am proficient in it.

Next, I plan to carefully study 5 HTML tags every day and thoroughly understand the use of these things. Well... this is a systematic study.

First of all, let’s understand the relevant knowledge

1. Standard attributes

What are standard attributes? According to some articles I read on the Internet, and my own understanding - the attributes that all tags have are standard attributes (except for base, head, html, meta, param, script, style and title elements).

class, id, style, title (these are commonly used, I will not explain them in detail)

2. Language attributes

These tags do not contain These elements: base, br, frame, frameset, hr, iframe, param, and script elements.

dir="ltr" or "rtl" Set the text direction of the content in the element

lang ="en" or "zh-cn" ... and other language codes are used to set the element The language code of the content. Language code reference

3. Keyboard attributes

accesskey = "33" Keycode of keyboard keys, used to set keyboard shortcuts for accessing elements

tabindex = "123" Input Number, set the access sequence of keyboard keys TAB

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!