Getting Started with HTML (i)

Source: Internet
Author: User

---restore content starts---

HTMLfirst, the introduction of HTML1. What is HTML?

Hypertext Markup Language:

  • Hypertext: More powerful than normal text

  • Markup Language: A language that describes content using a set of tags, which is not a programming language!

2. How is HTML used?
    1. All HTML file suffix names end in. html or. htm, and are recommended for. HTML endings

    2. The entire HTML file consists of a header and a body part. <body></body>

    3. HTML tags are made up of start tags and end tags ( <br /> )

    4. HTML tags ignore case, recommended lowercase

3. HTML-related tag learning
    1. Title label

Title Tags are used

Features: Bold and black display, a single row, and other lines have a certain line spacing.

    1. Comments:<!--标题标签-->
    2. Horizontal line:
    3. Paragraph Tags: <p></p>
    4. Font labels<font></font>
<!DOCTYPE HTML><HTML>    <Head>        <MetaCharSet= "UTF-8">        <title></title>    </Head>    <Body>        <!--1. Create a title label -        <H2>Company Profile</H2>        <!--2. Create a horizontal line label -        <HR/>        <!--3. Create a paragraph label, respectively -        <P><FontColor= "Red">For example, when we visit Sina in a browser,</Font>Our own computer is the client, the browser will be active to Sina's server to initiate the connection. If all goes well, Sina's server accepts our connection, a TCP connection is built up, and the subsequent communication is to send the Web content.</P>        <P>As a server, the port number must be fixed to provide what kind of service. Since we want to access the Web page, the server that Sina provides Web services must pin the port number to port 80 because port 80 is the standard port for the Web service. Other services have a corresponding standard port number, such as the SMTP service is port 25, the FTP service is 21 ports, and so on. Port number less than 1024 is the Internet standard service ports, the port number is greater than 1024, can be used arbitrarily.</P>        <P><Fontsize= "5" Face= "Italic"><b>Urllib</b></Font>The function is to use the program to perform a variety of<I>HTTP request</I>。 If you want to simulate a browser to complete a specific function, you need to disguise the request as a browser. The camouflage method is to first monitor the browser's request, and then according to the browser's request header to disguise, User-agent header is used to identify the browser.</P>        <P>Command virtualenv can create a standalone Python runtime environment, we also add parameter--no-site-packages so that all third-party packages that have been installed into the system Python environment will not replicate, so that We get a "clean" python run environment without any third-party packages.</P>    </Body></HTML>

---restore content ends---

Getting Started with HTML (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.