HTML TUTORIAL 2 - HTML Tags & Elements
I am will clarify about HTML labels and components together here. Since at times you might be confounded about the contrast amongst Tags and Elements. We should examine the picture beneath is really demonstrating which one is tag and which one is component.
What are HTML Tags
HTML Tags are utilized to increase any content or designs. As indicated by the picture over, the <h1> tag is encompassed by 2 point sections "<" and ">"; called begin tag. Furthermore, the end tag </h1> is relatively same yet it has just a forward cut "/" before the label name (h1). So here <h1> is begin tag and </h1> is end tag.
Look how a HTML tag is displayed on a site page ─
01 <em>Emphasized text</em>
─ Result
Emphasized text
Depiction:
In view of utilizing "Underlined content" in the middle of <em> and </em> labels, program see how the component to be exhibited. Most programs will show the <em> component with a CSS italic esteem like ─01 em {
02 textual style: italic;
03 }
HTML Elements
A HTML Element is nothing without a HTML tag. Most HTML components are composed with a begin tag (opening tag) and an end tag (shutting tag) with content in the middle.
01 <tagname>Content</tagname>
So as per the picture above, <h1>Heading Content</h1> is a h1 component.
Some HTML components:
<div> This is a division content. </div> div component
<p> This is a section content. </p>
p (passage) component
<h1> This is a heading content. </h1> h1 component
A HTML component can contain another component.
01 <!DOCTYPE html>
02 <html>
03 <body>
04 <p>Paragraph Content.</p>
05 </body>
06 </html>
Depiction:
In the case over, the <html> component characterizes the entire html report and contains other 2 components ─ <body> component and <p> component. What's more, the <body> component additionally contains another component is <p>Paragraph Content.</p> (<p> component).
HTML Empty Elements
No substance in HTML tag is called void component. There are a few components just have begin label, for example, <br>, <hr>, <img>, <meta> and that's only the tip of the iceberg.
Tags:
HTML Tags & Elements
html tags and elements
html tags and elements list
html tags and elements pdf
html tags elements and attributes
html tags elements and attributes pdf
html code elements
html tags vs elements
html single tag elements
html body tag elements
html head tag elements
html form tag elements
html tag group elements
html tags attributes and elements list
difference between html tags and elements
brief about html tags and elements
different html tags and elements
describe html tags and elements in briefly
tags and elements used in html
html tags attributes and elements list pdf
html code for elements
html tags and html elements
get html code element jquery
html tags list items
html tags are element names surrounded by
4.01 html elements tag notes
4.01 html elements tag notes key
html tags or elements
list of html tags and elements
html tag elements code reference
HTML TUTORIAL 2 - HTML Tags & Elements
Reviewed by raj baghele
on
August 16, 2018
Rating:
No comments: