Basic Learning for creating web pages-HTML + CSS.

Source: Internet
Author: User

The Internet is something that people often use. It helps us solve many problems and plays an important role in our life. But how to make it? Now there are a lot of specialized web page creation software (such as Dreamweaver and fireworks), and these software basically generates code for the browser to read, so I will start from the code section and summarize it briefly.


First: HTML (hypertext
Markup Language), that is, hypertext markup language, is a description markup language used to describe Web documents. It is an application under the standard General Markup Language and also a standard. It marks each part of the web page to be displayed by marking symbols. A webpage file is a text file. By adding a tag to a text file, you can tell the browser how to display the content (such as how the text is processed and how the screen is arranged, ).


Let's take a look at the HTML file architecture. It consists of tags (that is, the <> part) and elements (the part contained in the tag). Below is a basic framework:


Let's look at the following from these perspectives:



I. Text, no matter how developed technology is to transmit information text or one of the most important ways, let's take a look at the text design on the webpage:



2. The reality of images and images is also a necessary part of the web page:



3. The reason why a webpage becomes a webpage is that it can be connected and converted to another webpage. It can be connected to a location in the webpage, an Internet webpage, or a file.



4. Tables are often seen on webpages. Let's take a look at how to create tables:


5. Framework: <frameset> tag attributes:
<Frame> tag attributes:

6. layer, that is, we allow a webpage to display multiple layers of content:



7. The form is the submitted information table. Here we will briefly describe its establishment and simple attributes:



This is a simple HTML learning. For more information, see
HTML tutorial: http://www.w3school.com.cn/tags/tag_frame.asp

 

Next, let's take a look at CSS!

CSS separates the content and style of a webpage.

1. Standard stream: HTML Tag Arrangement Method

2. Box Model:

Outer margin, (upper and lower sides) inner margin, content area: width and height, frame: width

3, floating: float:

4. Positioning: Position: relative and absolute)

 

For more information about CSS, visit the CSS tutorial: http://www.w3school.com.cn/css/css_syntax.asp

 

Of course, here is a brief summary of HTML and CSS. We also need to learn more from the practice!

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.