• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About

Declarative Markup Language (DML)

Posted on August 16, 2019 by Mel Hawthorne

A declarative markup language, also known as descriptive or semantic markup languages, are varients of a markup language where the language only describes what should appear but doesn’t detail how, leaving that down to the interpreter to define through something like a standard styling pattern or through the use of a secondary styling language.

Technipages Explains Declarative Markup Language (DML)

One example DML is HTML, in the original language, HTML only attaches labels defining what the enclosed text is, e.g. if they’re in the <HEAD> or if they’re in a <BLOCKQUOTE> etc, this leaves it down to the interpreter (the browser in HTML’s case) to decide where to place the elements on the page. Modern HTML(5) differs as it adds new tags that are not entirely declarative in nature such as <i> or <b> which make the enclosed text italic and bold respectively.

XML (eXtensible Markup Language) is a prime example of a DML. In XML all content is sorted into tags which are purely descriptive, in some implementations the names for tags may have meanings but those meanings are purely for human readability. XML is intended to be as flexible as possible with regards to naming, the standard itself poses no naming limits at all and is meant to be a framework for a language to be built around, as such XML is ideal for use in APIs.

Common Uses of Declarative Markup Language (DML)

  • A declarative markup language may also be known as a descriptive or semantic markup language.
  • Declarative markup languages are used to label parts of the document rather than to provide specific instructions as to how they should be processed.
  • Declarative markup languages encourage authors to write in a way that describes the material conceptually, rather than visually.

Common Misuses of Declarative Markup Language (DML)

  • Declarative markup language is a longer term for markup languages.

You Might Also Like

  • Twitter: How to Change LanguageTwitter: How to Change Language
  • Windows 10: How to Add/Remove LanguageWindows 10: How to Add/Remove Language
  • Top Language Learning Apps for AndroidTop Language Learning Apps for Android
  • How to Change Language in Google ChromeHow to Change Language in Google Chrome
  • Facebook: Change Your Language SettingsFacebook: Change Your Language Settings
  • Linux Mint: How to Configure the Interface LanguageLinux Mint: How to Configure the Interface Language
  • Linux Mint: How to Add or Remove Language PacksLinux Mint: How to Add or Remove Language Packs
  • Google Maps is Not in English: Change the LanguageGoogle Maps is Not in English: Change the Language

Primary Sidebar

Recent Posts

  • Zoom: How to Receive Notifications for Messages You’re Following
  • Zoom: How to Configure the Size of Captions
  • Fix Microsoft Teams Not Detecting Camera
  • Microsoft Teams: Mouse Scroll Wheel Not Working
  • Fix Microsoft Teams Browser Not Supported
  • Android 10: How to Adjust the Keyboard Size
  • OneNote Error Code 0xE00001AE – Fix
  • WhatsApp: How to Change Your Phone Number

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Declarative Programming Language
  • Markup Language
  • Scripting Language
  • Machine Language
  • Well-Structured Programming Language
  • Unified Modeling Language (UML)

© Copyright 2021 Technipages · All Rights Reserved · Privacy