Traditional Culture Encyclopedia - Traditional festivals - HTLM basic cognitive DIV framework and CSS style _html format
HTLM basic cognitive DIV framework and CSS style _html format
1. Basic knowledge of HTLM DIV framework and CSS style
First of all, we should understand HTLM foundation, CIV framework and CSS style. HTML is called Hypertext Markup Language, which is a kind of logo language. It includes a series of tags. Through these tags, the document format on the network can be unified, and the scattered Internet resources can be connected into a logical whole. DIV elements are used to provide structure and background for large blocks of content in HTLM documents. CSS can not only decorate the web page statically, but also format the elements of the web page dynamically with various scripting languages. CSS can accurately control the layout of elements in web pages at pixel level, support almost all font styles, and have the ability to edit web page objects and model styles.
2. floating principle and Margin cognition
Margin is the grammar of CSS. This shorthand attribute is used to set the width of all margins of all current or specified elements in a declaration, or to set the width of margins on each side.
3. Framework application building
There are many frameworks. In this tutorial, choose a mainstream framework to show you how to build the front-end framework.
4. Inserting pictures, text labels, headers and navigation bars
Inserting pictures into webpages can make users who browse webpages get better experience. In this section, we will explain how to insert pictures, text labels, headers and navigation bars.
5. Banner block insertion, content text typesetting, inline elements, A tag and Banner link positioning
Banner is the earliest and most common form of online advertising. It is a rectangular bulletin board across the web page. When users click on these banners, they can usually link to the advertiser's web page. The typesetting of text content in web pages also directly affects the beauty and user experience of web pages.
6. anchor tag, hyperlink tag, fixed positioning and absolute positioning, and relative positioning
tags are used to define hyperlinks and link from one page to another. Used to set anchor points, used for page positioning.
7. Navigation secondary menu display hides
The secondary menu in many web pages shows that the secondary menu will not be displayed until the mouse moves to the primary menu or clicks the primary menu.
8. input Form
The input form column is not directly displayed, so the user's information can be obtained and the corresponding actions can be made. The application method of the input form is intuitively displayed in the tutorial.
- Previous article:Reasons for painting trees in winter
- Next article:What is the right stew to drink in the fall
- Related articles
- Guangdong Foshan Gaoming District wild vegetables planting base what varieties of wild vegetables
- Hand-drawn pop cell phone poster - What is a hand-drawn POP poster?
- Both traditional industries and emerging industries have evolved from the Internet.
- Uncover the characteristics of the Han Dynasty pottery
- The Four Great Drama Genres of the Republic of China
- What is the list of the most painful parts of tattoos?
- What's the difference between a mechanical keyboard and an ordinary keyboard?
- What is the difference between e-commerce and mobile e-commerce?
- The Three Realms of Human Words
- The significance of kindergarten group exercise