HTML1 Sui and Tang Dynasties Notes

What is the Internet?

Internet is the abbreviation of computer interactive network, also known as Internet. It uses communication equipment and lines to interconnect tens of millions of computer systems with relatively independent functions in different geographical locations around the world, and realizes network resources with well-functioning network software (network communication protocols, network operating systems, etc.). Data communication network for sharing and information exchange.

What can a web server do?
  • Web servers have a 24/7 job on the Internet, waiting tirelessly for requests from browsers.
  • The requested resource may be an image, sound, or a video. 
  • When the server receives a request for these resources, it will look it up within itself and send it back to the browser.

    Introduction to HTML

    • HTML is a language used to describe web pages.

    • HTML refers to HyperText Markup Language (HyperTextMarkupLanguage). ·

    • HTML is not a programming language, but a markup language. A markup language is a set of markuptags.

    • HTML uses markup tags to describe web pages.

    HTML tags Tags are often referred to as HTML tags (HTMLtag). HTML tags are keywords surrounded by angle brackets, eg <html>. HTML tags usually come in pairs, such as <b>and<b/>
  • HTML fixed structure
  • <html>------- root control flag

    <head>------- header control flag

    <title>标题</title>------- title tag

    <head>------- head control mark (tail)

    <body>------- Web page display area</body>

    </html>------- root control token (tail)

    HTML header

    • The header of the document describes various attributes and information of the document, including the title of the document.
    • The vast majority of document headers contain data that is never actually displayed to the reader as content.
    • Element tags that can be added in the header area are: <title>, <style>, <meta>, <link>, <script>etc.

    <!DOCTYPE> is not an HTML tag. It provides a piece of information (a declaration) to the browser about what version the HTML was written in.

    The content in <html> describes the web page.

    The content in <body> is the visible page content.

    The content in <head> describes the header information of the web page.

    The text in <title> is displayed as the title of the web page.

    The text in <h1> is the body-level heading.

    The text in <p> is the paragraph in the web page.

    <a> tags are hyperlinks in web pages.

    • The title (Heading) is h1> -<h6>defined by the < tag. <h1>Define the largest title. <h6>Define the smallest title

    <hr>Label

    Sometimes, we need to draw a horizontal line between paragraphs or between the heading and the body as a distinction, we can use <hr>tags .

    p tag

    HTML can use P tags to split a document into paragraphs.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324529967&siteId=291194637