Web platform

From HandWiki
Revision as of 13:37, 6 February 2024 by BotanyGa (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Browser-based computing platform

The Web platform is a collection of technologies developed as open standards by the World Wide Web Consortium and other standardization bodies such as the Web Hypertext Application Technology Working Group, the Unicode Consortium, the Internet Engineering Task Force, and Ecma International.[1] It is the umbrella term introduced by the World Wide Web Consortium, and in 2011 it was defined as "a platform for innovation, consolidation and cost efficiencies" by W3C CEO Jeff Jaffe.[2] Being built on The evergreen Web (where rapid, automatic software updates, vendor co-operation, standardization, and competition take place) has allowed for the addition of new capabilities while addressing security and privacy risks. Additionally, developers are enabled to build interoperable content on a cohesive platform.[3]

The Web platform includes technologies—computer languages and APIs—that were originally created in relation to the publication of Web pages. This includes HTML,[4] CSS, SVG, MathML,[5] WAI-ARIA, ECMAScript, WebGL, Web Storage, Indexed Database API, Web Components, WebAssembly, WebGPU, Web Workers, WebSocket, Geolocation API, Server-Sent Events, DOM Events, Media Fragments, XMLHttpRequest, Cross-Origin Resource Sharing, File API, RDFa, WOFF, HTTP, TLS 1.2, and IRI.[6][7]

Platforms

HTML

HTML5 logo and wordmark.svg

The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for its appearance.

HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes, and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as <img> and <input> directly introduce content into the page. Other tags such as <p> and </p> surround and provide information about document text and may include sub-element tags. Browsers do not display the HTML tags but use them to interpret the content of the page.

HTML can embed programs written in a scripting language such as JavaScript, which affects the behavior and content of web pages. The inclusion of CSS defines the look and layout of content. The World Wide Web Consortium (W3C), former maintainer of the HTML and current maintainer of the CSS standards, has encouraged the use of CSS over explicit presentational HTML (As of 1997)[8] A form of HTML, known as HTML5, is used to display video and audio, primarily using the <canvas> element, together with JavaScript.

CSS

Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.[9]

Scalable Vector Graphics

SVG Logo.svg

Scalable Vector Graphics (SVG) is an XML-based vector image format for defining two-dimensional graphics, having support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium since 1999.

SVG images are defined in a vector graphics format and stored in XML text files. SVG images can thus be scaled in size without loss of quality, and SVG files can be searched, indexed, scripted, and compressed. The XML text files can be created and edited with text editors or vector graphics editors, and are rendered by most web browsers.

Early adoption was limited due to lack of support in older versions of Internet Explorer. However, as of 2011, all major desktop browsers began to support SVG. Native browser support offers various advantages, such as not requiring plugins, allowing SVG to be mixed with other content, and improving rendering and scripting reliability. Mobile support for SVG exists in various forms, with different devices and browsers supporting SVG Tiny 1.1 or 1.2. SVG can be produced using vector graphics editors and rendered into raster formats. In web-based applications, Inline SVG allows embedding SVG content within HTML documents.

Despite its benefits, SVG can pose security risks if used for images, as it can host scripts or CSS, potentially leading to cross-site scripting attacks or other vulnerabilities.

JavaScript

JavaScript is the scripting language of the Web, enabling us to implement all kinds of powerful dynamic features. The usage of JavaScript is not limited to browsers. You can use it in server and console environments with Node. [10]

See also

References

  1. "100 Specifications for the Open Web Platform and Counting". W3C. 2011-01-29. https://www.w3.org/blog/2011/01/100-specifications-for-the-ope/. 
  2. Henry S. Thompson (2011-03-28). "The future of applications: W3C TAG perspectives". W3C. http://www.w3.org/2001/tag/doc/IAB_Prague_2011_slides.html. 
  3. "The evergreen web". W3C. 2001. https://www.w3.org/2001/tag/doc/evergreen-web/. 
  4. "HTML5: The jewel in the Open Web Platform". W3C. 2010-10-08. http://www.w3.org/QA/2010/10/html5_the_jewel_in_the_open_we.html. 
  5. "W3C Integrates Math on the Web with MathML 3 Standard". W3C. 2010-10-21. http://www.w3.org/News/2010#entry-8932. 
  6. "The Next Open Web Platform - Short list". W3C. 2011-01-29. http://www.w3.org/2010/Talks/0117-next-web-plh/nextweb.html. 
  7. "WG Decision to publish HTML Microdata as a WG Note". W3C. 2013-10-02. http://lists.w3.org/Archives/Public/public-html-admin/2013Oct/0018.html. "No one has volunteered to edit the HTML Microdata specification as per the call for volunteers … Therefore, the HTML WG hereby resolves that the HTML WG cannot productively carry this work any further" 
  8. "HTML 4.0 Specification — W3C Recommendation — Conformance: requirements and recommendations". World Wide Web Consortium. December 18, 1997. https://www.w3.org/TR/REC-html40-971218/conform.html#deprecated. 
  9. "What is CSS?". https://www.w3.org/Style/CSS/Overview.en.html. 
  10. "JavaScript". https://webplatform.github.io/docs/javascript/#:~:text=JavaScript%20is%20the%20scripting%20language,and%20console%20environments%20with%20Node..