HTML, or Hyper Text Markup Language, is the extension for web pages. It is the most basic file that defines the structure of the web page to be displayed. HTML files can be loaded from local storage or received from the server while browsing.
The HTML files are made up of elements like forms, texts, images, animations, etc. These elements are represented in the form of tages. HTML can also be embedded with a scripting language like JavaScript.
An HTML file is composed of three parts:
paragraph.
In the above code example, DOCTYPE HTML defines that this code is of HTML5 version.
There are multiple ways to run HTML files. I will tell you an easier way.
Step 1: Right-click on the HTML file you want to open
Step 2: Now click on Open With and then choose your browser where you want to open your file.
Choose your browser to open with
Step 3: Once you choose your browser, the html file will be opened in your browser.
Output:
Output of the above code
Like Article -->Java is a high-level, object-oriented programming language. A source code file written in the Java programming language is saved with the extension .java. .Java file extension typically contains Java code that can be compiled into bytecode and executed on the Java Virtual Machine (JVM). The Sun microsystem developed it. It is a platform-independent
4 min read C++ File Format | .cpp ExtensionC++ is a general-purpose programming language that extends C with features such as classes and objects, allowing for object-oriented programming. A C++ programming language file has a .cpp file extension. It allows developers to write clean and efficient code for large applications and software development, game development, and operating system pr
4 min read Swift File Format | .swift ExtensionSwift is a powerful and versatile programming language used to create a wide range of applications for Apple's operating systems, including iOS, macOS, watchOS, and tvOS. Swift offers several features that make learning easier for beginners, including modern syntax, memory safety, high performance, and more readable syntax. It is a strong and adapt
4 min read C# File Format | .cs ExtensionThe C# programming language's source code is in files ending in the .cs extension. Microsoft created the file format specifically for use with the.NET Framework. It offers a low-level programming language for writing code that is compiled to produce an EXE or DLL as the final output file. Microsoft Visual Studio can be used to create and compile th
4 min read RSS File Format | .rss ExtensionWhat is RSS File FormatRSS stands for "Really Simple Syndication" or sometimes "Rich Site Summary." It is a web feed format that allows users to access updates to online content in a standardized, computer-readable format. RSS provides a way for users to subscribe to and receive updates from their favorite websites, blogs, news sources, and other o
4 min read CSS File Format | .css ExtensionCSS, or Cascading Style Sheets, is a style sheet language used in web development to describe the presentation and formatting of a document written in HTML or XML. CSS is essential for separating the content of a web page from its visual representation, allowing web developers to control the layout, colors, fonts, and other stylistic aspects of the
4 min read HQX File Format | .hqx ExtensionHQX compressed files are archives available only in Mac OS. It is a BinHex (Binary to Hexadecimal) file that is used to compress files or hold various file data, thus being called a compressed file or an archive. It is used to store binary versions of images, documents, videos, and certain multimedia files. It involves the conversion of 8 bits of b
5 min read WPS File Format | .wps ExtensionWPS, a file extension stands for Writer, Presentation, Spreadsheet. Released by Microsoft Works Word Processor (MWWP), it is now an outdated file and has been replaced by Microsoft Office or the word .doc file. It was first started in the year 1988 and discontinued after 2006. It contains word-processing documents that require editing and formattin
4 min read WMA File Format | .wma ExtensionThe .wma sound format, which stands for Windows Media Audio, is a type of audio file format developed by Microsoft. It is designed to efficiently compress audio data while maintaining good sound quality. Imagine you have a favorite song that you want to store on your computer or share with others. If you save it in the .wma format, the file size wi
6 min read ARJ File Format | .arj ExtensionRobert Jung came up with the idea of Arj as one of the first file compression formats known as “Archived by Robert Jung.” At first, it was an important application for the personal computing field that compressed multiple files into one single archive thus making their storing and distribution convenient. In this article, we will cover the essence
5 min read Sound File Format | .snd ExtensionSND sound file format, known as “Sounds,” constitutes one of the well-established audio formats that have occupied a significant space within the digital audio environment for many years now. The SND was developed by Silicon Graphics and it has found use in a number of applications because of its adaptability. In this article we will discuss the SN
5 min read RealAudio File Format | .ra ExtensionRealAudio, commonly known as RA, is a type of audio file format developed by a company called RealNetworks. It's specifically designed for playing audio over the internet, making it convenient for streaming music, radio shows, or any other kind of audio content. RA files are created by compressing the audio data. Compression is like squeezing the a
4 min read AAC File Format | .aac ExtensionThe AAC extension is brief for "Advanced Audio Coding", which is an in-vogue sound field design for packed virtual sound and tune data. Worked on a few factors, this format delivers better sound at the indistinguishable bitrate in evaluation to the more seasoned sound codecs. Table of Content What is the AAC sound Format?Uses of aac Sound FormatHow
7 min read Audio File Format | .au ExtensionAu sound format is a file format developed by Sun Microsystems they are also known as Unix audio files most commonly they are used to audio files and embed the audio files on web pages. AU files are smaller and thus have poor sound quality. Table of Content Uses of the AU file formatHow to Run AU filesBenefits of the AU formatLimitations of the AU
4 min read TAR File Format | .tar ExtensionA tar tape document record design is a chronicle made by tar, a UNIX-based utility used to bundle documents together for reinforcement or dissemination purposes. It contains various records (otherwise called a tarball) put away in an uncompressed design alongside metadata about the file. Tar documents are not packed chronicle records. Table of Cont
8 min read Batch File Format |.bat ExtensionBatch scripts ending with “.bat” are usually employed to automate operations as well as perform many commands consecutively. The BAT program file format has been used in the computing world for decades to ease and enhance efficiency in production as well as boost productivity. Table of Content What is the bat File Format?Uses of Bat Program File Fo
3 min read WAVE File Format | .wav ExtensionFile format is the way in which information is organized and stored in a computer. For different types of data such as text, documents, images, video, and music there are different file formats used. Example: For a text document, the file format to save normal text is TXT, for images file format used is JPEG or PNG, for videos it is MP4 and for aud
4 min read Message File Format | .msg ExtensionThe MSG file format is a proprietary format developed by Microsoft for storing individual email messages. It is primarily associated with Microsoft Outlook, an email client widely used for personal and professional communication. The MSG file contains a structured set of data, including the email's sender, recipient, subject, date, and the actual m
5 min read Command File Format | .com ExtensionWindows-based application development and running are dependent on the fundamental aspect, which is the COM component object model program file format. It is important because it helps in making it possible for software parts to connect and make complicated programs. In this article, We will discuss the COM program file format including its structu
5 min read SIT File Format | .sit ExtensionThe StuffIt file format, denoted by the ".sit" extension, is associated with the StuffIt compression and archiving software. Developed by Aladdin Systems (now part of Smith Micro Software), StuffIt was a popular tool for compressing and archiving files, especially on the Macintosh platform. Table of Content What is StuffIt?Features of the.sit File
4 min read Z File Format | .z ExtensionA Z file is a compressed UNIX file used to archive files and save space. Like many UNIX compression formats, a Z file can only contain one file. However, it can be used to deliver a group of files as long as they have been archived by a multi-file archive tool first. Table of Content What is the z-compressed format?Uses of the z Compressed FormatSt
10 min read Executable File Format | .exe ExtensionThe Windows operating system has a crucial element known as the Exe file format, which is one of the most commonly used computer program file formats in the world today. Executable files are important in running software applications from the simplest text editor to sophisticated video games. In this article, we will discuss the EXE file format, ho
4 min read ARC File Format | .arc ExtensionThere are many ways to optimize data storage in the real world of data file formats. There are several types of files that use this format such as ARC. This format of the files can also be known as ARC or compressed arc, which offers the users the ability to save space with the disk files and streamline the management of the same process of the fil
5 min read Zipped File Format | .zip ExtensionFile compression formats are crucial in making data manageable, more efficient, and easier to access in the era of digital data storage and transfer. This format includes the Zip Compressed Format which is very common. In this article, We will discuss what that file format is, its use, how to use that file format, its advantages and also its disadv
7 min read RTF File Format | .rtf ExtensionRTF stands for rich text format which is commonly used in storing text and text formatting information that can be applied in the creation or sharing of documents. in this article, article, we'll delve into the details of RTF explaining what it is, where and how it can be used, opening and creating files in RTF format, its advantages, and software
4 min read DOCX File Format | .docx ExtensionDocx is a popular file format used in many word-processing applications that are highly compatible and feature-rich. This is the standard layout of Microsoft Word, a widely used word-processing program across the globe. In this article, We will explore the DOCX text format, including its application, opening DOCX files, why it is valuable, as well
4 min read Text File Format | .txt ExtensionTXT file format is the default choice for basic data storage in current-day computing. The reason behind this is that it can be easily created, and edited and is also compatible with most hardware. Therefore, it is widely used for storing data, writing codes, saving logs etc. Table of Content What is a TXT file?Where is TXT used?How to open TXT fil
4 min read HTM File Format | .htm Extension.htm extension is a kind of HTML web development and browsing file format. In this article, we will explore the .htm file format and how to use it effectively, its advantages and possible limitations, as well as applications. Table of Content What is the .htm Format?Uses Of .htm formatHow to Run and Create .htm Format?Benefits Of .htm FormatLimitat
5 min read DOC File Format | .doc ExtensionThe doc file format, which has been in play for decades now, is a common text-based document format recognized around the world. This article will look at what a .doc file is, how it can be used, opening and creating .doc files, its advantages, and applications that use this format. Table of Content What is the .doc file format?Uses of the .doc Fil
4 min read CSV File Format | .csv ExtensionWhat are CSV Files?The full form of CSV is Comma-separated values. Comma-separated value is a simple yet powerful file format to store and exchange data. Values are separated using commas in this plain text file format. CSV files are often used to store data in a tabular format, such as spreadsheets or databases. These files are easy to create and
3 min read Article Tags :