HTML Simple Learning

Source: Internet
Author: User

  • Follow the four steps below to create your first page in Notepad.

    Step One: Start Notepad

    How to start Notepad:

    Begin
    All Programs
    Attachment
    Notepad

    Step two: Use Notepad to edit the HTML

    Type the HTML code in Notepad:

    Step three: Save the HTML

    Select "Save As" in the File menu of Notepad.

    When you save an HTML file, you can use. htm as well as the. html extension. There is no difference between the two, completely according to your preferences.

    Save this file in an easy-to-remember folder, such as W3school.

    Step four: Run this HTML file in the browser

    Start your browser and choose the Open File command on the File menu, or double-click your HTML file directly in the folder.

    The result should look something like this:

  • Text description page between
  • The text between <body> and </body> is visible in the page content
  • The text between
  • Text between <p> and </p> is displayed as a paragraph
  • <a href= "http://www.w3school.com.cn" >this is a link</a> HTML links are defined by <a> tags
  • HTML images are defined by tags
  • <H1 align= "Center" > has additional information about alignment
  • <body bgcolor= "Yellow" > has additional information about the background color.
  • <table border= "1" > has additional information about the table border
  • <HR/> Tags Create horizontal lines in the HTML page.
  • <!--This is a comment---note
  • If you want to wrap (a new line) without creating a new paragraph, use the <BR/> Label:

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.