HTML Getting Started Guide

Introduction to HTML

 

HTML (English: HyperText Markup Language, referred to as: HTML) is a standard for creating a web page markup language. HTML is a basic technique, often with CSS, JavaScript is used together with a number of user interface design web sites, web applications, and mobile applications [3]. Web browsers can read HTML file and render it into a visualization page. HTML describes the structure of the semantics of a website along with the presentation of clues, making it a markup language rather than a programming language.

 

1. Introduction inventor

 

HTML is by the British scientist Tim Berners - Lee invented the. Timothy John Berners - Lee, Sir, OM KBE FRS FREng FRSA FBCS (English: Sir Timothy John Berners-Lee, 1955 Nian 6 8 March), nicknamed Tim Berners - Lee (English: Tim Berners-Lee), British computer scientist. He is the inventor of the World Wide Web. December 25, 1990, he successfully achieved the first use of the Internet communication Hypertext Transfer Protocol client and server

 

How to write the hands 2.HTML

 

<!DOCTYPE html>

 

<html>

 

<head>

 

<title></title>

 

</head>

 

<body></body>

 

</html>

3. In HTML we often label sections which will be used

 

h1-h6 indicates the tag from the beginning until the h1 to h6 size of six titles. Among them, a html should have only one h1

 

section of the label for the section labels, as we write the same article is divided into several sections.

 

p represents the paragraph tag, indicates the need for the article in this segment. As shown below

 

The header located at the head of the label indicates the meaning of

 

The footer tag is on the bottom meaning

 

The main tag indicates the main content.

 

aside opposite meaning and main content offshoot, non-body content

 

The label is mainly used to divide the div area.

 

4.HTML global attributes

 

class is used to an increasing pattern, the label may have a plurality of class

 

contenteditable can make any element to be edited

 

hidden quickly make a thing unseen

 

This id id not a last resort do not use

 

style style is mainly used to increase

 

tabindex controls the switching of the order of the tab

 

title to display the full content contained in ......

 

5.HTML common content labeling

 

ol + li ordered data list

 

ul + li unordered list of points

 

di + dt + dd described listing

 

If you want to keep pre spaces, carriage return, tab, then you need to wrap it pre. Such as:

 

hr dividing line

 

br Wrap

 

This code label is inside font width as:

 

a hyperlink such as:

 

Emphasize the tone of em

 

Emphasize the strong nature

 

quote inline references

 

blockquote wrap references

 

Thanks for watching

Guess you like

Origin www.cnblogs.com/xy009/p/12166589.html