HTML简介

2011-07-19 阅读 36

本文是关于HTML的简单介绍,试着自己翻译了下,不足之处望大家多多指点。

HTML

HTML,是超文本标记语言,是网页中主要的标记语言。HTML是网页的基础构成元素。

HTML在网页中是以尖括弧(像<html>)形式的标签元素书写的。HTML标签通常是成对出现的,像(<h1></h1>)。一对中第一个出
现的是开始标签,第二个是结束标签(也可以叫开放和闭合标签)。在这些标签中网页设计师能够加文本、表、图片等。

网页浏览器的目的就是把HTML文档解析成可视可听的网页。浏览器不能显示HTML标签,但是可以把标签翻译成网页的内容。

HTML元素是整个网站的基础。HTML允许图片和对象的嵌入,来创建一个可交互的平台。它提供了一个方法创建一个结构文档来表示
文 本的结构语言,像标题、段落、列表、链接、引用等其他元素。它能够嵌入到脚本语言影响HTML网页的效果,如JavaScript。

网页浏览器可以用层叠样式表(CSS)定义文本的样式、布局和排版。HTML和CSS的标准协议W3C,鼓励使用CSS在明确的HTML外
观设计。

原文:

HTML

HTML,which stands for HyperText Markup Language,is the predominant markup language for web pages.HTML is the basic
building-blocks of webpages.

HTML is written in the form of HTML elements consisting of tags,enclosed in angle brackets(like<html>),within the web
page content.HTML tags normally come in pairs like<h1>and</h1>.The first tag in a pair is the start tag,the second tag
is the end tag(they are also called opening tags and closing tags).In between these tags web designers can add text,tables,
images,etc.

The purpose of a web browser is to read HTML documents and compose them into visual or audible web pages.The browser
does not display the HTML tags,but uses the tags to interpret the content of the page.

HTML elements form the building blocks of all websites.HTML allows images and objects to be embedded and can be used to
create interactive forms.It provides a means to create structured documents by denoting structural semantics for text such
as headings,paragraphs,lists,links,quotes and other items.It can embed scripts in languages such as JavaScript which affect
the behavior of HTML webpages.

Web browsers can also refer to Cascading Style Sheets (CSS)to define the appearance and layout of text and other material.
The W3C,maintainer of both the HTML and the CSS standards,encourages the use of CSS over explicitly presentational HTML
markup.

HTML

更新于 2023年03月28日