HTML Basic Tags with example
<DOCTYPE>
This tag defines, which type of document is this
<DOCTYPE html>
<html>
"html" tag defines, this is a html document
<title >
The title tag is use to define title webpage
<titile>title here</title>
Title tag -Example
<h1>Techxio.com</h1>
<title>Html basics</title>
Output: title showing in browser
<body>
In this section, we usually use the
content visible on the page and the different types of elements that structure
that content.
<head>
This is usually called the head of the page. This
element always contains information related to our web page. In this, we are
included in the title of the page and the keywords of the page and the
<meta> element of the page, which is used by different types of search
engines to search our page. We have to specify different types of information
related to the page between this <head> element.
HTML Heading tags with example
<h1> heading
1</h1>
<h2>heading2</h2>
<h3>heading3</h3>
<h4>heading4</h4>
<h5>heading5</h5>
<h6>heading6</h6>
Heading tags Output:
heading 1
heading2
heading3
heading4
heading5
heading6
HTML Paragraph Tag with example
<p></p>
<p>The only
way to do great work is to love what you do. If you haven’t found it yet, keep
looking. Don't settle.” – Steve Jobs</p>
Output:
The only way to do great work is to
love what you do. If you haven’t found it yet, keep looking. Don't settle.” –
Steve Jobs
HTML Links
<a href=" https://www.techxio.com">This
is a link</a>
HTML Font Color
<h1 style="color:green">This is my first web page </h1>
<p style="color:blue">This is an example of paragraph powered by techxio.com </p>
Output:
This is my first web page
This is an example of paragraph powered by techxio.com
HTML font Size
<p style="font-size:10px">Techxio.com IT hardware and Networking </p>
<p style="font-size:20px">Techxio.com IT hardware and Networking </p>
<p style="font-size:30px">Techxio.com IT hardware and Networking </p>
<p style="font-size:40px">Techxio.com IT hardware and Networking </p>
Font Size with font color
<p style="font-size:20px;color:green">Techxio.com IT hardware and Networking </p>
Techxio.com IT hardware and Networking
HTML Table Tags
<body>
<table border="1" width="506" height="74">
<tr>
<td height="23" width="163">Account</td>
<td height="23" width="158">Marketing</td>
<td height="23" width="163">Sales</td>
</tr>
<tr>
<td height="43" width="163">1,50,000</td>
<td height="43" width="158">5000</td>
<td height="43" width="163">2,50,000</td>
</tr>
</table>
</body>
No comments:
Post a Comment