Formatted text

In computing, formatted text, styled text, or rich text, as opposed to plain text, is digital text which has styling information beyond the minimum of semantic elements: colours, styles (boldface, italic), sizes, and special features in HTML (such as hyperlinks).

Terminology

Formatted text cannot rightly be identified with binary files or be distinct from ASCII text. This is because formatted text is not necessarily binary, it may be text-only, such as HTML, RTF or enriched text files, and it may be ASCII-only. Conversely, a plain text file may be non-ASCII (in an encoding such as Unicode UTF-8).[further explanation needed] Text-only formatted text is achieved by markup which too is textual, while some editors of formatted text like Microsoft Word save in a binary format.

Beginnings of formatted text

Formatted text has its genesis in the pre-computer use of underscoring to embolden passages in typewritten manuscripts. In the first interactive systems of early computer technology, underlining was not possible, and users made up for this lack (and the lack of formatting in ASCII) by using certain symbols as substitutes. Emphasis, for example, could be achieved in ASCII in a number of ways:[1][2]

  • Capitalization: I am NOT making this up.
  • Surrounding with underscores: I am _not_ making this up.
  • Surrounding with asterisks: I am *not* making this up.
  • Spacing: I am n o t making this up.

Surrounding by underscores was also used for book titles: Look it up in _The_C_Programming_Language_.

Markup languages

Formatting can be marked by tags distinguished from the body text by special characters, such as angle brackets in HTML. For example, this text:

The dog is classified as Canis familiaris in taxonomy.

is marked up in HTML thus:

<p>The dog is classified as <i>Canis familiaris</i> in taxonomy.</p>

The italicised text is enclosed by an opening and a closing italics tag. In LaTeX, the text would be marked up like this:

The dog is classified as \textit{Canis familiaris} in taxonomy.

Most markup languages can be edited with any text editor, needing no special software. Many markup languages can also be edited with specialized software designed to automate some functions or present the output as WYSIWYG.

Formatted document files

Since the invention of MacWrite, the first WYSIWYG word processor, in which the typist codes the formatting visually rather than by inserting textual markup, word processors have tended to save to binary files. Opening such files with a text editor reveals them embedded with various binary characters, either around the formatted text (e.g. in WordPerfect) or separate from it, at the beginning or end of the file (e.g. in Microsoft Word).

Formatted text documents in binary files have, however, the disadvantages of formatting scope and secrecy. Whereas the extent of formatting is accurately marked in markup languages, WYSIWYG formatting is based on memory, that is, keeping for example your pressing of the boldface button until cancelled. This can lead to formatting mistakes and maintenance troubles. As for secrecy, formatted text document file formats tend to be proprietary and undocumented, leading to difficulty in coding compatibility by third parties, and also to unnecessary upgrades because of version changes.

WordStar was a popular word processor that did not use binary files with hidden characters.

OpenOffice.org Writer saves files in an XML format. However, the resultant file is a binary since it is compressed (a tarball equivalent).

PDF is another formatted text file format that is usually binary (using compression for the text, and storing graphics and fonts in binary). It is generally an end-user format, written from an application such as Microsoft Word or OpenOffice.org Writer, and not editable by the user once done.

See also

References

  1. ^ Hambridge, Sally (October 1995). "RFC1855: Netiquette Guidelines". IETF Datatracker, Internet Engineering Task Force. Retrieved February 4, 2024.
  2. ^ Mullen, Ed (July 26, 2015). "Structured Text". edmullen.net. Retrieved February 4, 2024.

Read other articles:

State Legislative Assembly Constituency in Tamil Nadu Salem (South)Constituency for the Tamil Nadu Legislative AssemblyConstituency detailsCountryIndiaRegionSouth IndiaStateTamil NaduDistrictSalemLS constituencySalemTotal electors2,60,372[1]Member of Legislative Assembly16th Tamil Nadu Legislative AssemblyIncumbent E. Balasubramanian Party  AIADMKElected year2021 Salem South or 'Salem (South)' is a state assembly constituency in the Indian state of Tamil Nadu that was formed...

Active Directory Informations Développé par Microsoft Système d'exploitation Windows Server (en) Environnement X86, x86_64 et IA-64 Formats lus LDAP Data Interchange Format Type Annuaire Politique de distribution incorporé dans Windows Site web docs.microsoft.com/windows-server/identity/ad-ds/active-directory-domain-services modifier - modifier le code - voir Wikidata (aide) Active Directory (AD) est la mise en œuvre par Microsoft des services d'annuaire LDAP pour les systèmes d'exploit...

Minutes to MidnightAlbum studio karya Linkin ParkDirilis9 – 18 Mei 2007(tergantung lokasi)DirekamFebruari 2006 – Januari 2007di The MansionGenreRock alternatif, metal alternatifDurasi43:30LabelWarner Bros, Machine ShopProduserRick Rubin, Mike ShinodaKronologi Linkin Park Linkin Park Underground 6.0(2006)String Module Error: Match not foundString Module Error: Match not found Minutes to Midnight(2007) Linkin Park Underground 7.0(2007)String Module Error: Match not found2007 Sampul alte...

Willem Maris; portrait byFloris Arntzenius (1903) Willem Maris (18 Februari 1844 – 10 Oktober 1910) adalah seorang pelukis lanskap Belanda dari Sekolah Den Haag. Biografi Willem adalah anak ketiga dari lima bersaudara. Dua saudara laki-lakinya Jacob dan Matthijs Maris mendahuluinya sebagai pelukis. Dalam literatur ia sering dicirikan sebagai orang yang belajar sendiri, dan Maris menggambarkan tahun-tahun awal studinya sebagai berikut: Sejak saya masih muda, saya bekerja di lua...

Catholic church and national monument of Chile Church of Saint IgnatiusReligionAffiliationRoman CatholicLocationMunicipalitySantiagoCountryChileArchitectureArchitect(s)Eusebio ChelliEugenio JoannonIgnacio CremonesiStyleNeoclassicalGroundbreaking1867Completed1900 The iglesia San Ignacio, also known as iglesia del Colegio de San Ignacio, is a Roman Catholic church founded by the Society of Jesus in Santiago, Chile. It is next to the Colegio San Ignacio, and was declared as a National Historic M...

International collegiate women’s fraternity Kappa Kappa GammaΚΚΓFoundedOctober 13, 1870; 153 years ago (1870-10-13)Monmouth College, (Monmouth, Illinois, U.S.) 40°06′09.8″N 83°06′35.7″W / 40.102722°N 83.109917°W / 40.102722; -83.109917TypeSocialAffiliationNPCScopeInternationalMottoDream Boldly. Live Fully.Colors  Dark Blue   Light BlueSymbolKey, Fleur-de-Lis, OwlFlowerFleur-de-LisJewelSapphirePublicationThe KeyPhilanthropyMe...

ウリ共和党우리공화당 代表 趙源震院内代表 徐清源創立 2020年3月3日 (2020-03-03)前身政党 ウリ共和党自由統一党(朝鮮語版)政治的思想 保守主義愛国主義反共主義親朴政治的立場 極右国会 0 / 300(2020年4月15日)広域団体長 0 / 17(2020年3月16日)基礎団体長 0 / 226(2020年3月16日)広域議会 0 / 824(2020年3月16日)基礎議会 0 / 2,927(2020...

Adrian Kurek Datos personalesNacimiento Grudziądz (Polonia)29 de marzo de 1988 (35 años)Carrera deportivaRepresentante de Polonia PoloniaDeporte CiclismoDisciplina RutaTrayectoria Equipos amateur 2007-2008200920102011 Top 16Mosaic-Diffusion.com-Top 16Albi VSOcéane Cycle Poitevin Equipos profesionales 20122013-20182019-2021 UtensilnordCCCHurom/Mazowsze Serce [editar datos en Wikidata] Adrian Kurek (29 de marzo de 1988) es un ciclista polaco que fue profesional entre 2012...

De wedstrijd om de supercup 2023 werd op zaterdag 2 september 2023 gespeeld. De wedstrijd vond plaats op Sportpark De Toekomst in Amsterdam. Landskampioen Ajax trad aan tegen bekerwinnaar FC Twente. Beide teams speelden voor het tweede jaar op rij de wedstrijd om de supercup. FC Twente wist de supercup voor de tweede keer op rij te winnen door doelpunten van Liz Rijsbergen, Renate Jansen (2×), Wieke Kaptein en Eva Oude Elberink. Finale 2 september 202314.00Supercup Ajax 2 – 5 (0 – 2) FC ...

Ariel Báez Ariel Báez actuando en un showInformación personalNacimiento 12 de noviembre de 1975 (48 años) CorrientesResidencia Corrientes Nacionalidad ArgentinaInformación profesionalOcupación Cantante, político y músico Género Folclore Sitio web arielalonsitobaez.com[editar datos en Wikidata] Ariel Báez[1]​ (Corrientes, 12 de noviembre de 1975) es un cantante de chamamé y político argentino.[2]​ Conocido por ser integrante del grupo Los Alonsitos.[3]​ ...

Герб Лозівського району ДеталіНосій Лозівський районЩит Французький щитІнші елементи сокіл, колосся, лоза, стріли, грамоти, книга Герб Лозівсько́го райо́ну — офіційний символ Лозівського району Харківської області. Зміст 1 Опис 2 Значення символів 3 Див. також 4 Джере...

Mexican TV series or program Dani Who?GenreThrillerCountry of originMexicoOriginal languageSpanishNo. of seasons1No. of episodes10ProductionProduction companies Argos Comunicación Viacom International Studios Original releaseNetworkParamount ChannelReleaseNovember 3, 2019 (2019-11-03)[1] –January 5, 2020 (2020-01-05) Dani Who? is a Mexican teen drama thriller produced by Argos Comunicación for Viacom International Studios.[2] The start of production was...

US Air Force general Jeffrey L. HarrigianOfficial portrait, 2022Born1962 (age 60–61)AllegianceUnited StatesService/branchUnited States Air ForceYears of service1985–2022RankGeneralCommands heldUnited States Air Forces in Europe – Air Forces AfricaAir Forces Central Command49th Fighter Wing43rd Fighter SquadronBattles/warsIraq WarAwardsDefense Distinguished Service Medal (2)Air Force Distinguished Service MedalDefense Superior Service MedalLegion of Merit (2)Bronze Star Med...

Kejatuhan Phnom PenhBagian dari Perang Saudara Kamboja dan Perang VietnamPandangan pengintaian udara dari Jembatan Monivong, Phnom Penh 17 April 1975Tanggal17 April 1975LokasiPhnom Penh, KambojaHasil Kemenangan Khmer Merah Akhir dari Perang Saudara Kamboja Jatuhnya Republik Khmer Pembentukan Kamboja Demokratik Dimulainya genosida KambojaPihak terlibat Khmer Merah Republik KhmerDidukung oleh : Amerika SerikatTokoh dan pemimpin Pol Pot Sak SutsakhanKorban Tidak diketahui Tidak diketah...

Protein that increases transcription of a gene or set of genes A transcriptional activator is a protein (transcription factor) that increases transcription of a gene or set of genes.[1] Activators are considered to have positive control over gene expression, as they function to promote gene transcription and, in some cases, are required for the transcription of genes to occur.[1][2][3][4] Most activators are DNA-binding proteins that bind to enhancers o...

2015 photo-book by Zach Klein Cabin Porn EditorZach KleinPublication date2015ISBN978-0316378215Followed byCabin Porn: Inside, 2020  Cabin Porn is a 2015 photo-book edited by Zach Klein. It includes over 200 images of cabins and temporary structures, along with instructional guides on how to build them. Publication Cabin Porn: Inspiration for Your Quiet Place Somewhere is a 2015 photo-book published by Little, Brown and Company and edited by American entrepreneur Zach Klein.[1 ...

Benjamin Hall Benjamin Hall (Abergavenny, Monmouthshire, Gales el 8 de noviembre de 1802 - Westminster, Londres el 27 de abril de 1867). Fue un ingeniero civil y político. Hijo de un industrial, en 1832 se lo nombró miembro del Parlamento por la ciudad de Monmouth en el sur de Gales, durando 5 años en el puesto. Designado primer barón de Llanover en 1838 y nombrado Secretario de Trabajo en 1855. En este puesto ordenó la construcción de la Torre del Reloj del Parlamento dándosele el sob...

Compiling data to create a visual image Computer cartography (also called digital cartography) is the art, science, and technology of making and using maps with a computer.[1][2][3] This technology represents a paradigm shift in how maps are produced, but is still fundamentally a subset of traditional cartography.[3][4] The primary function of this technology is to produce maps, including creation of accurate representations of a particular area such as...

Graph Search redirects here. For search problems within a general graph, see graph traversal. Semantic search engine by Facebook Facebook Graph Search feature Facebook Graph Search was a semantic search engine that Facebook introduced in March 2013. It was designed to give answers to user natural language queries rather than a list of links.[1] The name refers to the social graph nature of Facebook, which maps the relationships among users. The Graph Search feature combined the big da...

Species of tree Astronium graveolens Conservation status Least Concern (IUCN 3.1)[1] Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Rosids Order: Sapindales Family: Anacardiaceae Genus: Astronium Species: A. graveolens Binomial name Astronium graveolensJacq.[2] Synonyms[3] Astronium conzattii S.F.Blake Astronium gracile Engl. Astronium planchonianum Engl. Astronium zongolicum Reko nom. illeg. Astroniu...