Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analyze the basic knowledge of HTML and CSS

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "analyzing the basic knowledge of HTML and CSS". In the daily operation, I believe that many people have doubts in analyzing the basic knowledge of HTML and CSS. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "analyzing the basic knowledge of HTML and CSS". Next, please follow the editor to study!

Terminology

Web: the Internet.

W3C: world wide Web Alliance, non-profit organization, official website: w3.org. Provide a variety of standards for the Internet.

Instead of URL: MDN:Mozilla Development Network. Mozilla developer community. There is Chinese.

ISO: international Organization for Standards.

XML: extensible markup language (extension markup language) is used to define the structure of a document.

HTML

HTML is a language standard defined by the W3C organization HTML is a language used to describe the structure of pages.

Full name of HTML: Hyper Text Markup Language. Hypertext markup language.

Write a first-level title:

First-level title CSS

CSS is also the language standard defined by W3C CSS is a language used to describe the presentation of a page. Font color, size, layout, etc. )

CSS determines what the page looks like.

Execute HTML and CSS: execute with the browser kernel.

Version and compatibility

XHTML: can be thought of as a version of HTML, fully compliant with the XML specification. But I don't use it now.

Published by HTLM5:2014.

CSS3: it hasn't been developed yet.

IE:Trident kernel.

Firefox:Gecko kernel.

Chrome: formerly the Webkit kernel is now the Blink kernel.

Opera:Blink kernel.

Safari:Webkit kernel.

Shell: shell.

Core: kernel (JS execution engine, rendering engine).

The browser consists of two parts:

The world's mainstream browsers (with their own kernel):

Preparation of the development environment

Show file extension (do not understand Baidu). Most files: file name + extension (suffix).

The extension determines what opens the file.

Install browser: it is recommended to install Google browser (Baidu is recommended to search Chrome and go to the official website to install it, so as to avoid installing viruses)

Google browser always synchronizes with the W3C standard.

Set Google browser as the default browser

Install a professional editor:

Terminology

HTML

CSS

Preparation of the development environment

HTML

Version and compatibility

Sublime

ATom

Dreamweaver

Vscode (recommended)

Table of contents:

Catalogue

Emmet plug-ins: automatically generate html code snippets

HTML

Annotation method: Ctrl+?

Element (tag, tag, but officially called element (element))

Local attribute: an attribute specific to some elements.

Global attribute: all elements are used together.

Element = start tag (begin tag) + end tag (end tag) + element content (element content) + element attributes (optional)

Attribute = attribute name (href) + attribute value

Text Baidu this is a global attribute

Some elements have no closing tag (so there is no element content) and are called empty elements.

There are two ways to write an empty element: 1. 2. /: indicates the closing mark and indicates the end.

Nesting of elements: elements cannot be nested within each other; parent element; child element; ancestor element; descendant element; sibling element (two elements with the same parent element)

Standard document structure

Document at this point, the study of "analyzing the basics of HTML and CSS" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report