Você está na página 1de 3

HTML(Hyper Text Mark-up Language)

HTML, which stands for Hypertext Markup Language, is the predominant markup
language for web pages. It provides a means to create structured documents by
denoting structural semantics for text such as headings, paragraphs, lists etc as well as
for links, quotes, and other items. It allows images and objects to be embedded and can
be used to create interactive forms. It is written in the form of HTML elements
consisting of "tags" surrounded by angle brackets within the web page content. It can
include or can load scripts in languages such as JavaScript, which affect the behavior
of HTML processors like Web browsers, and Cascading Style Sheets (CSS) to define
the appearance and layout of text and other material. The use of CSS is encouraged
over explicit presentational.

Data types:

•HTML defines several data types for element content, such as


script data and stylesheet data, and a plethora of types
for attribute values, including IDs, names, URIs, numbers,
units of length, languages, media descriptors, colors,
character encodings, dates and times, and so on. All of
these data types are specializations of character data.

Delivery of HTML:

•HTML documents can be delivered by the same means as any


other computer file; however, they are most often
delivered either by HTTP from a Web server or by e-mail.

HTML Application:

•Main article: HTML Application

•An HTML Application (HTA; file extension ".hta") is a Microsoft


Windows application that uses HTML and Dynamic HTML
in a browser to provide the application's graphical
interface. A regular HTML file is confined to the security
model of the web browser, communicating only to web
servers and manipulating only webpage objects and site
cookies. An HTA runs as a fully trusted application and
therefore has more privileges, like
creation/editing/removal of files and Windows Registry
entries. Because they operate outside the browser's
security model, HTAs cannot be executed via HTTP, but
must be downloaded (just like an EXE file) and executed
from local file system.

Elements:

See HTML elements for more detailed descriptions.

•Elements are the basic structure for HTML markup. Elements


have two basic properties: attributes and content. Each
attribute and each element's content has certain
restrictions that must be followed for an HTML document
to be considered valid. An element usually has a start tag
(e.g. <element-name>) and an end tag (e.g. </element-
name>). The element's attributes are contained in the
start tag and content is located between the tags (e.g.
<element-name attribute="value">Content</element-
name>). Some elements, such as <br>, do not have any
content and must not have a closing tag. Listed below are
several types of markup elements used in HTML.

•Structural markup describes the purpose of text. For example,


<h2>Golf</h2> establishes "Golf" as a second-level
heading, which would be rendered in a browser in a
manner similar to the "HTML markup" title at the start of
this section. Structural markup does not denote any
specific rendering, but most Web browsers have
standardized on how elements should be formatted. Text
may be further styled with Cascading Style Sheets (CSS).

HTML markup:

HTML markup consists of several key components, including


elements (and their attributes), character-based data types,
and character references and entity references. Another
important component is the document type declaration, which
specifies the Document Type Definition. As of HTML 5, no
Document Type Definition will need to be specified, and will
only determine the layout mode[1].

The Hello world program, a common computer program


employed for comparing programming languagesoptional:,
scripting languages, and markup languages is made of 9 lines
of code in HTML, albeit line breaks are :
<!DOCTYPE html>
<html>
<head>
<title>Hello HTML</title>
</head>
<body>
<p>Hello World!</p>
</body>
</html>

Você também pode gostar