HTML Quick Start, css
We often browse the Web pages online to obtain information. But what is a webpage? How is it written?
A webpage is also called a Web page. We often see text, images, and videos on the webpage. The HTML (Hypertext Markup Language) that we want to talk about is the main language used to form Web documents and the core language of web design.
First, let's first understand three concepts: HTML, HTML document, and HTML Tag.
HTML
A language used to describe web pages.
Hypertext markup language, rather than programming language.
A markup language is a set of markup tags)
HTML document
Description webpage
Contains HTML tags and plain text
Also known as Web pages
HTML Tag
Also called Tag
Is a keyword surrounded by Angle brackets, such as Usually appear in pairs, such as <B> and </B>.
The first tag is the start tag, and the second tag is the end tag.
Sort out the relationship between the three. HTML documents are compiled by the HTML markup language, which includes tags and text elements. So let's focus on the HTML document. After learning about the HTML document, we will have a general understanding of HTML.
Here are a few examples to practice!
Basic Structure of HTML:
<Html> <! -- Header, containing the title -->
Display text on the webpage and set the text style.
<Html>
Next is a curriculum table. The labels used mainly include <table>, <tr>, <th>, and <td>.
<Html>
The following is a registration form, mainly used by the <input> element, which is used to accept user input information. The main attribute is type.
<Html>
Related Concepts:
URL: Uniform Resource Locator (Uniform Resource Locator, abbreviated as URL ). Each file on the Internet has a unique URL. It contains information that specifies the location of the file and how the browser should handle it.
The basic URL contains the mode (or protocol), server name (or IP address), path, and file name. Scheme: it tells the browser how to process the file to be opened. The most common mode is HTTP. URLs are classified into absolute URLs and relative URLs, that is, absolute paths and relative URLs.
<Html>
Through the above simple examples, we can see that using HTML we can design paragraphs, texts, tables, forms, and so on in the web page. In addition, we can simply set the style of the element label, and the display effect is also very beautiful. However, we have very limited changes to their styles, and there is no way to flexibly set them like CSS.
There is a more common explanation on the Internet: html pages without CSS are like "ugly women without makeup", and html pages that are processed at will are "ugly women after makeup "; after using CSS, I changed the ugly girl's face or body, but the bones and organs were the same!
How to get started with html and css
Reading a book is better than watching a video. There are still a lot of online teaching videos. Html and css are not difficult. After familiarizing yourself with tags, you can get in touch with each other and keep accumulating various skills.
We recommend that you have some quick start information on the HTML language,
There are a lot
You can also go to Sun Xin's website
Video above
Website: www.sunxin.org