Computer Science, asked by ysheenakousar1129, 7 months ago

What will be the output of the following HTML code?

<b> <u> Html tags can be of two types</b></u>are paired<u>un paired</u>​

Answers

Answered by VarunRajgor
1

Explanation:

HTML Tutorial

HTML Tags

HTML Attributes

HTML Text

HTML Headings

Block & Inline Elements

HTML Lists

Hyperlink

HTML Images

HTML Iframes

HTML Entities

HTML Meta Tag

HTML Tables

HTML Form

HTML Marquee

Doctypes in HTML

XHTML

DHTML

HTML Tags and Elements

Written By: Avinash Malhotra

Updated on 10-Aug-2020

← HTML Tutorial HTML Attributes →

HTML Tutorial rating by Jasmine Average rating: 5.0, based on 69 reviews

Home Web Designing Html Html Tags

Type of HTML tags

HTML Tag

Body Tag

Title Tag

Meta Charset

List of HTML Tags

Tags in HTML

HTML Tags or Tags are used to add content in html, like text, headings, table, list links etc. Tags along with attributes are core components of HTML. The latest version of HTML, i.e HTML5 includes around 142 tags.

A Tag with attribute and content is called HTML Element.

HTML Tags

HTML Tags

Type of HTML Tags

Tags in HTML are categorized as Paired Tags and Unpaired Tags on the basics of opening and closing.

Paired Tags are tags with both opening and closing. They can have child tags and text. For example <p>, <h1>, <body> etc.

Unpaired tags are tags with opening only, example <img>, <input> etc.

Type of html tags

Tags Type Use

Paired Tag

Pair Tags are written in pairs, means separate opening and closing tag.

Exp html, body, head, h1, p, div etc.

Unpaired Tags

Unpair or self closing tags. They don't need closing, as they are self closed. Unpair tags example <img >, <meta > <input > <link >, <br >, <hr> etc.

Unpaired elements don't have any child or children. They are last node of HTML DOM Tree.

HTML Tag <html>

HTML or HTML Tag is the parent tag of all HTML Elements. HTML Tag is defined just after doctype declaration. To know more about html doctype, click html doctype.

HTML Tag has two children, head tag and body tag. Since HTML3, It is compulsory to define Doctype and then HTML tag.

lang attribute is used inside html tag to define language. An option dir="ltr" is also used to ser direction which if by default left to right.

For Urdu and Arabic, use dir="rtl" in html tag.

<!DOCTYPE html>

<html lang="en">

<head>

<title> Title of the webpage </title>

<meta charset="utf-8" >

</head>

<body>

</body>

<html>

HEAD Tag

HTML Head tag is the first child of HTML. Head .

Answered by satwik133
4

Answer:

ok as she think and like

Similar questions