docx
DOCX is a well-known format for Microsoft Word documents.
Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files.
Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.
HTML
HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers.
Known as language of the web, HTML has evolved with requirements of new information requirements to be displayed as part of web pages.
The latest variant is known as HTML 5 that gives a lot of flexibility for working with the language.
HTML pages are either received from server, where these are hosted, or can be loaded from local system as well.
Each HTML page is made up of HTML elements such as forms, text, images, animations, links, etc.
These elements are represented by tags and several others where each tag has start and end.
It can also embed applications written in scripting languages such as JavaScript and Style Sheets (CSS) for overall layout representation.