Introduction to HTML_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:39:39
Original
1085 people have browsed it

What is HTML?

HTML is a language used to describe web pages.

  • HTML refers to Hyper Text Markup Language (Hyper Text Markup Language)
  • HTML is not a programming language, but a markup language (markup language)
  • Tag Language is a set of markup tags
  • HTML uses markup tags to describe web pages

  • HTML tags

    HTML Markup tags are often called HTML tags.

  • HTML tags are keywords surrounded by angle brackets, such as
  • HTML tags usually appear in pairs, such as and
  • The first tag in the tag pair is the opening tag and the second tag is the closing tag
  • The opening and closing tags are also known as opening tag and closing tag

  • HTML document = web page

  • HTML document describes web page
  • HTML document contains HTML tags and plain text
  • HTML document is also called web page
  • The role of a web browser is to read HTML documents and display them in the form of web pages. Instead of displaying HTML tags, browsers use tags to interpret the content of the page



    <html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>
    Copy after login


    Result:




    Example explanation

  • The text between describes the web page
  • The text between is the visible page content
  • and < Text between /h1> is displayed as a heading

  • and

    is displayed as a paragraph


  • Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

    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