Home Web Front-end HTML Tutorial HTML study notes

HTML study notes

Feb 14, 2017 pm 03:57 PM
html

HTML refers to Hyper Text Markup Language (Hyper Text Markup Language)

XHTML is a more rigorous and purer version of HTML.
XHTML refers to EXtensible HyperText Markup Language.
XHTML is HTML redefined as an XML application.
XHTML is a W3C standard.
You should immediately write HTML code in lowercase letters, and never get into the bad habit of ignoring tags like

.
XHTML elements must be closed. Non-empty tags must use closing tags.

The attribute name must be lowercase
The attribute value must be in quotes
The attribute cannot be abbreviated
Use the Id attribute instead of the name attribute
XHTML DTD defines the mandatory HTML elements


PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd">

HTML5 is the next generation of HTML.

---------------------------------- ----------------------------------

is also used to quote other people’s text. But it is a reference to a long text, such as introducing a large section of a well-known writer's text into an article, in which case this tag is needed.
The browser parses the
tag in an indented style.
tag, short text quote
Quotation marks
  Space
tag, add address information to the web page
Want to add a line of code? Use the tag <code>var i=i+300;

If it is multi-line code, you can use the
 tag. 

ul-li is a list of information in no order. A sequential information list uses ol

to create the four elements of the table:
table, tbody, tr, th, td
…: when the table content Very often, the table will be downloaded and displayed a little, but if the tag is added, the table will not be displayed until all the table contents are downloaded. Such as the code in the code editor on the right.

caption tag, add a title to the table. The display position of the title: above the table.


The content of the summary will not be displayed in the browser. Its function is to increase the readability (semanticization) of the table, enable search engines to better understand the table content, and also enable screen readers to better help special users read the table content.

Use mailto to link email addresses in web pages
What do you think of this movie review?Sendemail me

replacement text when download fails

Use form tags to interact with users


Text input box, password input box

Text area, supports multi-line text input


Use radio button, check box Check box, allowing the user to select
Note: For radio buttons in the same group, name must have a certain value Be consistent

Use the drop-down list box to save space

Set the selected="selected" attribute, then the option will be selected by default
The drop-down list can also perform multiple selection operations, set the multiple="multiple" attribute in the


The label label in the form
The label label will not present any special effects to the user, its The effect is improved usability for mouse users. This control will be triggered if you click on the text inside the label. That is to say, when the user clicks to select the label, the browser will automatically turn the focus to the form control related to the label (it will automatically select the form control related to the label).

For more HTML study notes and related articles, please pay attention to the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Table Border in HTML Table Border in HTML Sep 04, 2024 pm 04:49 PM

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

HTML margin-left HTML margin-left Sep 04, 2024 pm 04:48 PM

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

Nested Table in HTML Nested Table in HTML Sep 04, 2024 pm 04:49 PM

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.

HTML Table Layout HTML Table Layout Sep 04, 2024 pm 04:54 PM

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

HTML Input Placeholder HTML Input Placeholder Sep 04, 2024 pm 04:54 PM

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

HTML Ordered List HTML Ordered List Sep 04, 2024 pm 04:43 PM

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

Moving Text in HTML Moving Text in HTML Sep 04, 2024 pm 04:45 PM

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

HTML onclick Button HTML onclick Button Sep 04, 2024 pm 04:49 PM

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

See all articles