Tag Archives: HTML

HTML Computer Code Elements

To display user input, code, and program outputs, we have specific elements in HTML5. HTML <kbd> Element <kbd> stand for keyboard, and it is used to represent keyboard shortcut keys and other input or voice commands. The bowser show <kbd> content in monospace font style. Example <p> To close the window press <kbd>Alt + f4</kbd></p> Output To close… Read More »

HTML Layout

Generally, the content of the website is divided into multiple columns. And this division of content makes the page more responsive and interactive. Layout Element In HTML5 we have some specific elements which can be used for page layout. <header> <nav> <section> <article> <aside> <footer> <detail> <summary> Mostly all of these are sementic elements which mean they provide… Read More »

HTML Style Guide and Coding Conventions

Clean and neat code makes it easier for other developers to understand and read your code. There are some conventional techniques followed by every HTML developer when they write the HTML code. Major Convention for writing HTML code Use Document Type Use lowercase for Elements. Always close the pair elements. Use lowercase for attributes. Use quotation for attribute… Read More »

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 »