HTML 8 Summary

Source: Internet
Author: User
Tags hosting web hosting

HTML Summary

HTML is a common markup language used on the Web. HTML allows you to format text, add images, create links, enter forms, frames, tables, and so on, and save them as text files that your browser can read and display.

The key to HTML is the label, which is the function that indicates what will appear.

Learn CSS

CSS is used to control the style and layout of multiple Web pages at the same time.

By using CSS, all formatting can be stripped out of the HTML and stored in a separate file.

Learn JavaScript

JavaScript can make your Web page more vivid.

If you just want to show content, static sites are a good display, and if you want to swap with users or make the pages more vivid, you need to use JavaScript.

JavaScript is the most popular scripting language on the Internet, and currently all major browsers support JavaScript.

Site Server

Hosting a Web site on your own server is always an option. There are a few things to consider:

Hardware expenditure

If you want to run a "real" website, you have to buy powerful server hardware. Don't expect low-priced PCs to handle these jobs. You also need a stable (24-hour day) high-speed connection.

Software expenditure

Keep in mind that server licensing is typically more expensive than client licensing. Also note that server licensing may have a limited number of users.

Labor costs

Don't count on cheap labor costs. You must install your own hardware and software. You also deal with vulnerabilities and viruses to ensure that your server is running normally in an environment where anything can happen.

Using an Internet service provider (ISP)

Renting a server from an ISP is also common.

Most small companies store the site on a server provided by the ISP. Its advantages include the following points:

Connection speed

Most ISPs have high-speed connections to the Internet.

Powerful hardware

ISPs ' Web servers are often powerful enough to be able to share resources from several sites. You'll also want to see if the ISP provides efficient load balancing and the necessary backup servers.

Security and reliability

ISPs are experts in web hosting. They should provide more than 99% online time, the latest software patches, and the best virus protection.

Considerations when choosing an ISP 24-hour support

Make sure your ISP provides 24-hour support. Don't put yourself in an awkward position where you can't solve a serious problem, and you must wait for the second business day. If you do not wish to pay for long distance calls, then the toll-free telephone service is also necessary.

Daily backup

Make sure your ISP performs routine daily backups, or you may lose valuable data.

Flow

Look at the traffic limits for your ISP. If you have unexpected traffic surges due to the popularity of your site, make sure you don't pay an extra fee for that.

Bandwidth or content limits

Consider the bandwidth and content limitations of your ISP. If you plan to publish pictures or broadcast video or audio, make sure you have this permission.

E-mail function

Make sure your ISP supports the e-mail features you need.

Database access

If you plan to use data from a Web site database, make sure that your ISP supports the database access you need.

XHTML is HTML written in XML format.

What is XHTML?
  • XHTML refers to extensible Hypertext Markup Language
  • XHTML is almost the same as HTML 4.01
  • XHTML is a stricter and purer HTML version
  • XHTML is an HTML that is defined in the way XML is applied
  • XHTML is the recommended standard for the January 2001 release
  • XHTML is supported by all major browsers
  • The most important difference compared to HTML: document structure
    • XHTML DOCTYPE is mandatory
    • The XML namespace attribute in mandatory
    • mandatory
    element syntax
    • XHTML elements must be nested correctly
    • XHTML elements must always be closed
    • XHTML elements must be lowercase
    • An XHTML document must have a root element
    Attribute syntax
    • XHTML attribute must use lowercase
    • XHTML attribute values must be surrounded by quotation marks
    • XHTML attribute minimization is also forbidden
    • <! DOCTYPE ....> is mandatory.

      XHTML document must be in XHTML document type declaration (XHTML DOCTYPE Declaration)

    • Add an XHTML <! doctype> to your Web page
    • Add the xmlns attribute to the HTML element of each page.
    • Change all the elements to lowercase
    • Close all empty elements
    • Modify all property names to lowercase
    • Add quotation marks for all attribute values

HTML 8 Summary (GO)

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.