HTML iframe Tag

The HTML <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document. Syntax <iframe src=”URL” title=”description”></iframe> Example <!doctype html> <html> <head> <title>HTML iframe tag</title> </head> <body> <h1>Iframe Example</h1> <iframe src=”https://krtricks.in/learn-programming/” title=”Learn Coding Free.” width=”400px” height=”300px”> </iframe> </body> </html> Try It Now Output: Attributes Attribute Value …

HTML iframe Tag Read More »

HTML i Tag

The HTML<i> tag is used to represent the technical term, phrase, the important word in a different language. The content under the <i> tag is displayed in italic format. Syntax <i>Your Content</i> Example <!doctype html> <html> <head> <title>HTML tag</title> </head> <body> <h2>HTML <i> tag example</h2> <p>This paragraph is not written in the <i> tag</p> <i><p>This …

HTML i Tag Read More »

HTML html Tag

The <html> tag is used to represent the root of an HTML document. It is a container of all elements (except for the <!DOCTYPE> tag). It tells the browser that it is an HTML document. Syntax <html>Elements…</html> Example <!DOCTYPE html> <html> <head> <title>HTML tag</title> </head> <body> <h2>HTML tag example</h2> <p>Your Content.</p> </body> </html> Output: Attributes …

HTML html Tag Read More »

HTML hr Tag

The HTML <hr> tag is used to define a horizontal line or rule to separate content in an HTML page. The <hr> tag is an empty tag and this tag does not require an ending tag. Syntax <hr> Example <!doctype html> <html> <head> <title>HTML Hr Tag</title> </head> <body> <h1>What Is HTML?</h1> <p>HTML stands for Hyper …

HTML hr Tag Read More »

HTML header Tag

The HTML <header> tag is used as a container that contains introductory content or a group of navigational links. It may contain some elements, logo or heading, author information icons, or a search form.  Syntax <header> header content… </header> Example <!doctype html> <html> <head> <title>HTML Header Tag</title> </head> <body> <article> <header> <h1>Article Heading</h1> <p>Posted by …

HTML header Tag Read More »

HTML head Tag

The HTML <head> tag is used as a container that contains metadata(document title, links, scripts, style, and other meta-information) and the metadata content not displayed on the webpage. This tag is used between the <html> tag and <body> tag. Syntax <head> head tag contents… </head> You can use the following elements inside the head tag. …

HTML head Tag Read More »

HTML H1 to H6 Tag

The heading tags are used to define HTML headings. There are six levels of headings H1, H2, H3, H4, H5, and H6. The H1 is the highest (or most important heading) and the smallest H6. Syntax <h1>heading</h1> to <h6>heading</h6> Example <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6> Try It Now …

HTML H1 to H6 Tag Read More »