Home > Web Front-end > HTML Tutorial > Initial experience with html_html/css_WEB-ITnose

Initial experience with html_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:40:23
Original
1307 people have browsed it

I have been exposed to HTML for about seven days, so I will make a brief summary to refresh my memory.

html can be roughly divided into three parts: Dtd header, Head, and Body.

Dtd header: It is used for browser editing, which is what the saying goes, it is for the computer to see.

Head: Under the inner subdivision, there are probably title (title), base (convert relative url to absolute url), link (used when using external links), style (declaration style), meat (definition file information) ) and so on constitute the head part of Html.

body: This is the most important part of the entire Html, that is, the part that is visible to people. It is composed of various tags in the main part, the important parts of which are: style tags, text tags, img links (images), a tags (links), etc.

The following is an example to illustrate:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />    <title>舟山游记</title></head><body background="./明亮.jpg" text="#ffffff">    <a name="ancher_one"></a>        <p>时间:2013、10</p>    <center>            <h1>十月份黄金周小游舟山</h1>        <hr>        <h6>一趟不怎么快乐的旅行</h6>    </center>    <font face="Arial" color="red" size="3"></font><br />    <hr>照片:    <ol>        <li>            <img src="1.jpg" alt="这是样本图片" width="420" height="320"/>        </li>        <li>            <img src="2.jpg" alt="" border="2"  width="320" height="420"/>        </li>        <li>            <img src="3.jpg" alt="" width="300" />        </li>    </ol>    <font face="Arial" color="red" size="3">游玩三天,蓝天白云,大海。</font><br />    <a href="#anchor_one">回到顶部</a><br /></body></html>-----------------------------------效果如下-----------------------------------------
Copy after login

I am a newbie and have many shortcomings. I hope you will bear with me and provide me with guidance.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template