Category Archives: HTML

HTML Styles

Every browser has a specific engine which parses the HTML document and displays a default style of the page content. HTML Style Attribute style is an attribute that can be used along with many HTML tags. With the help of style, we can change the default style of the element by changing their font size, colour, font etc.… Read More »

HTML Text Formatting

In HTML, we have many special elements that can provide special meaning to text content. Major HTML Formatting Elements HTML Elements Description <b> Bold the text <strong> An alternative for <b>, which tell that this text is essential. <i> Italic the text <em> Similar to italic but used when we want to emphasize the text. <mark> It marks… Read More »

HTML Paragraphs

A general paragraph represents a block of text and always start from a new line. HTML Paragraphs In HTML paragraphs can be defined using <p> element. Paragraph text always starts from a new line, the browser parsed the <p> tag and automatically add some margin and white space after the end </p> tag. Example <p> Hello! and Welcome… Read More »

HTML Heading

In this HTML tutorial, we will discuss the HTML heading elements and all the heading tags present in HTML5. HTML Heading To display the section heading, title or subtitle we can use the HTML heading tags. In HTML 5 we have 6 heading tags start from <h1> up to <h6>, where <h1> specify the largest heading and <h6>… Read More »

HTML Attributes

In this article, we will discuss HTML attributes, which are one of the essential topics in HTML. HTML Attributes In HTML, the attributes are used to provide additional information about the elements. For most of the HTML elements, attributes are optional, but there are some elements where we have to deliver the attributes. Attributes always specified within the… Read More »

HTML Head Element

<html> element has two main nested elements <head> and <body>. <body> element contain the main content of the web page and <head> element contain the meta data of the web page. <head> contain many nested elements which include <title>, <style>, <meta>, <link>, <script>, and <base>. All of these elements does not display on the browser they only provide… Read More »

HTML File Paths

Often we use some attributes such as href, link, src etc. which specify the location of other documents that need to be imported to the HTML document. Generally, these attributes define the location and file path of the other document. If the other document resides in the same location where the HTML document is, then we just specify… Read More »

HTML JavaScript

JavaScript is a scripting language that can make webpages more interactive and dynamic. However, it has Java in its name but has nothing to do with Java. It is also referred to as a programming language because it contains mostly all the concepts of High-Level programming language. Using JavaScript, we can create a popup, alert messages, dropdown menus… Read More »

HTML Iframe

Using the <iframe> element we can add a new HTML document in the existing one.  The <iframe> element create a rectangular region with its own borders and scrollbar that can show a separate web page. <iframe> syntax <iframe src=”URL”> </iframe> Example <!DOCTYPE html> <html> <head> <title>HTML Iframes</title> </head> <body> <iframe src =””> <!– this message will be shown… Read More »