Home >> Computers >> Programming >> Languages >> Perl >> Modules >> HTML




Around computing, HyperText Markup Language (HTML) occurs as markup language designed for the creation of web pages and more references viewable around the browser. HTML is utilized to structure data -- denoting certain text when headings, paragraphs, lists etc. -- & may be utilized to define a semantics of the document.

Originally defined by Tim Berners-Lee and further developed per IETF with a simplified SGML syntax, HTML is now an international standard (ISO/IEC 15445:2000). In the future HTML specifications come maintained per World Wide Web Consortium (W3C).

Early versions of HTML were defined by having free syntactic system which helped its adoption by victims unacquainted with web publication. Web browsers usually mass produced assumptions all about intent & proceeded by using giving of the site. Above instance, a trend in the official standards has been to produce an more and more nonindulgent language syntax; even so, browsers however prove my point to render places that come far from either valid HTML. A todays version of the HTML specification is at present XHTML 1.0, this existence super similar to the earliest HTML Four.01 that it replaces. A vary from either HTML to XHTML applies the nonindulgent system of XML to HTML to make it more leisurely to run & maintain.

Introduction

HTML occurs as form of markup that is oriented toward a construction of lone-web page text documents by owning specialised giving software package known as HTML user agents, the usual lesson of which occurs as web browser. HTML will bring a means by which the document's content may be annotated sustaining various rather metadata and rendering hints. the giving cues can range from either minor even text decorations, like specifying that a certain word exist as underlined or that an image become inserted, to sophisticated imagemaps & form definitions. A metadata may include information astir a document's title & creator, structural principles like headings, paragraphs, lists, & datthe that allows a document to become linked to more documents to form a hypertext web.

HTML occurs as text depending format that is designed to become each decipherable & editable by human being utilizing the text editor. Nonetheless, writing & updating the heavy total of places by h& inside this way is instance ingesting, takes a good noesis of HTML and potty produce consistency hard to maintain. Visual HTML editors such as Macromedia Dreamweaver, Adobe GoLive or Microsoft FrontPage allow the creation of webpage to become treated very much rather word processor documents. Even so, a code generated by these computer program is often of unfortunate quality.

HTML may be generated on the fly utilizing the server-side scripting models like PHP, JSP or ASP. Numbers of web applications prefer content management systems, wikis and web forums generate HTML pages.

Version history of the standard
[http://www.w3.org/MarkUp/draft-ietf-iiir-html-01.txt Hypertext Markup Language (First Version)], promulgated June 1993 as an Internet Engineering Task Force (IETF) working draft (not standard). [http://www.ietf.org/rfc/rfc1866.txt HTML 2.0], promulgated November 1995 as IETF RFC 1866, and stated obsolete/historic by RFC 2854 around June 2000. [http://www.w3.org/TR/REC-html32 HTML 3.2], promulgated January 14, 1997 as a W3C Recommendation. [http://www.w3.org/TR/REC-html40-971218/ HTML 4.0], promulgated December 18, 1997 as a W3C Recommendation. [http://www.w3.org/TR/html401 HTML 4.01], promulgated December 24, 1999 as a W3C Recommendation. [http://www.purl.org/NET/ISO+IEC.15445/15445.html ISO/IEC 15445:2000] ("ISO HTML", based on HTML Four.01 Strict), published May 15, 2000 as an ISO/IEC international standard. [http://www.w3.org/TR/xhtml1/ XHTML 1.0], promulgated January 26, 2000 as a W3C Recommendation, later revised & republished August 1, 2002.

No official standard HTML One.Cipher specification because there were multiple informal HTML standards at a period. Nonetheless, a few population assume a initial edition provided by Tim Berners-Lee to exist as a definitive HTML One.Nought. That version did non include an IMG element nature and severity. Functiin on the successor for HTML, so known as "HTML+", began inside late 1993, designed originally to exist as "A superset of HTML…which will allow a gradual rollover from the previous format of HTML". A total one formal specification was so given a version number Two.Zero sequentially to distinguish it from either these unofficial "standards". Operate in HTML+ continued, however this never became the standard.

A HTML Three.Cypher standard was proposed per recently formed W3C in March 1995, & provided numerous recently capabilities like trend lines for tables, text flow in numbers and a display of complex maths elements. Potentially though it was designed to become compatible by owning HTML Two.Cypher, it was as well complex at a instance to exist as implemented, & after a draft expired around September 1995 work in this counsel was discontinued due to want of web browser trend lines. HTML Three.I was never officially proposed, & a next standard proposal was HTML Three.Two (code-known as "Wilbur"), which dropped a majority of the freshly features inside HTML Three.Zero & instead adoptive several web browser-specific element types & attributes which got been created for the Netscape and Mosaic web browsers. Trend lines for maths when projected by HTML Three.Nought eventually pass years late by having the different standard, MathML.

HTML Four.Cypher also adopted numbers of web browser-specific element types & attributes, however at a equivalent instance began to try to "clean up" a standard by marking a select few of the children every bit deprecated, and suggesting it non exist as utilized.

Minor editorial revisions to the HTML Four.Cypher specification were published when HTML Four.01.

A usual extension for files containing HTML is .hypertext markup language, still, older operating systems, like DOS, limit file extensions to threesome letters, and then the .htm extension is as well utilized. Although mayhap less most common today, a shorter form is however widely supported by todays computer software.

Markup element types

Beneath come a rather markup element types in HTML. Structural markup. Describes a purpose of text. For instance, Presentational markup. Describes a appearance of the text, disregardless of its work. E.g., Hypertext markup. Links area of the document to more documents. E.g., The Document Type Definition

Sequentially to specify which version of the HTML standard it conform to, whole HTML documents should run by owning the Document Type Declaration (informally, a "DOCTYPE"), which makes information to the Document Type Definition (DTD). E.g.:

This declaration asserts that a document conforms to the Strict DTD of HTML Four.01, which is strictly structural, allowing formatting to Cascading Style Sheets. Inside a select few lawsuits, a presence or even absence of an appropriate DTD might influence how else a browser may display the web page.

Additionally to the Strict DTD, HTML Four.01 will bring Transitional & Frameset DTDs. A Transitional DTD was arranged to step by step phase in a changes mass produced in the Strict DTD, when the Frameset DTD was meant for victims documents which contained frames.

Basic Code for HTML

To begaround a basic HTML report in Notepad, wise shoppers must begin hit sustaining the tag . &, that you must universally close tags. The closed tag is only . These 2 tags last at a beginning & a prevent of your computers web page.

Separation of style and content

Efforts of the web development community keep close at hand led to the fresh mentation in the way the web document should exist as written; XHTML epitomizes this effort. Standards stress applying markup which suggests a structure of the document, prefer headings, paragraphs, prevent quoted text, & tables, instead of utilizing markup which is written for ocular purposes exclusively, rather <font>, <b> (bold), & <we> (italics). A bit of one elements are non permitted around certain varieties of HTML, such as HTML Four.01 Strict. CSS provides a way to separate a HTML structure from either the contented's presentation, by keeping completely code treating using presentation defined inside the CSS file. Watch separation of style and content.

Serving HTML

The World Wide Web primarly uses HTTP to serve HTML documents to users. Sequentially to clean this right, these are necessary for a document to exist as described right: the necessary metadata includes the MIME Type (typically "text/html", although more options include "application/xhtml+xml") & a character encryption (watch Character encodings in HTML).

HTML Email

HTML is likewise utilized inside email messages. Several electronic mail clients include the GUI HTML editor for composing emails & the giving engine for displaying the babies another time received. Have of HTML within electronic mail is quite controversial due to the kind of issues. A independent gain is the ability to decorate an e-mail by using presentational attributes (bold headings etc). Nonetheless, a disbenefits include:

a recipient might not use at times an e-mail client that may display HTML a e-mail has big size because lots of formatting is good deal big than a obviously text same. This issue is mass produced slightly worse per fact that, for compatibility, virtually all clients send the plaintext version too. overexploitation of formatting (there was at one stage the craze for making letterheads using HTML & sending the two when section of each e-electronic mail) expected security issues of deluding a recipient to assume an e-mail whenever existence from either an authoriative source (like a bank) when this is non the out break; this is related to phishing scams. expected security issues of only giving the complex format rather HTML.

For these reasons several mailing lists deliberately block HTML electronic mail either stripping retired a HTML a portion to upright leave a manifestly text a share or even rejecting a entire message.

HTML::Defaultify
Enables population of HTML forms with default values.

HTML::Mason
A Perl-based website development and delivery engine. With mason, Perl is directly embedded inline with HTML templates.

HTML::TableExtract
Module based on HTML::Parser that serves to extract information contained in tables from HTML documents.

HTML::Template
Collection of modules including HTML::Pager, IPC::SharedCache, and CGI::Application::MailPage. With documentation and mailing list.

HTML::FormWizard
A Perl module to create HTML Forms from Perl structures, verify the data, and return Perl structured data.

CGI::FormBuilder
Form generation and processing module. Documentation, tutorial, examples, and mailing list.


Computers: Data Formats: Markup Languages: HTML






© 2005 GeneralAnswers.org