What is HTML Code?
It is the most commonly used markup language for creating
Web Pages. It is called Hypertext Markup
Language.
It is show by pair of angle brackets(< and >) with same text placed between these brackets.
It is show by pair of angle brackets(< and >) with same text placed between these brackets.
There are many text editor which can be used for HTML
coding. Here we explain how to write it in notepad.
Basic Structure:
<!DOCTYPE>
<html>
<head>
<title>Search Talks</title>
<body>
This is my new blog post about html code.
</body>
</head>
</html>
Body Elements:
alink
backgrounds
bgcolor
class
dir
id
lang
link
style
text
vlink
Head Elements:
<base>
<isindex>
<link>
<meta>
<script>
<style>
<title>
Title Elements:
id
lang
Elements is the building blocks of an Html documents.
About Tags
Two type of tags are:
Container Tag: Contains Content
Empty Tag: Does not Contain any content.
Container tag
<html>
<head>
<title>Search Talks</title>
<body> This is my New Post.
</body>
</head>
</html>
Empty Tag:
<body>
This is My new Post.<br/>
</body>
This is empty tag.
How to Save Your HTML Code
Friend’s how to save your file. It’s very important. If you don’t save the file; you cannot find. In html, .html or .htm extensions are used to save a file. Firstly you have to go save option and then type the name of file with an extension of .html or .htm.
Line Break <br> tag.
If you want to make a new line in paragraph then you can use line break tag "<br>". It’s a very useful tag. If you write a paragraph and you want to break the line. So you can use this tag.
<html>
<head>
<title> Search Talks</title>
<body> This is my New Post.<br>
you can read this.<br>
</body>
</head>
</html>
Horizontal Line Represent by <hr> tag.
If you want to create a horizontal line. You can use "hr" tag. Just like you have written " Search Talks" and you use "hr" tag you can use horizontal line. You can represent Horizontal line tag "hr".
<html>
<head>
<title> Search Talks</title>
<body> This is my New Post.<hr>
you can read this.<br>
</body>
</head>
</html>
Inserting Spaces Represented by
If you want to create space between words and paragraph. So you can use " ” It’s a very useful for tag to make space between object.
<html>
<head>
<title> Search Talks</title>
<body>
This is my New Post
</body>
</head>
</html>
Creating paragraph represented by <p> tag.
If you want to create paragraph in your website or webpage then you can use paragraph tag ”<p>".
<html>
<head>
<title> Search Talks</title>
<body>
<p>This is my New Post. This post explain various html tags.</p>
</body>
</head>
</html>
Basic Structure:
<!DOCTYPE>
<html>
<head>
<title>Search Talks</title>
<body>
This is my new blog post about html code.
</body>
</head>
</html>
Body Elements:
alink
backgrounds
bgcolor
class
dir
id
lang
link
style
text
vlink
Head Elements:
<base>
<isindex>
<link>
<meta>
<script>
<style>
<title>
Title Elements:
id
lang
Elements is the building blocks of an Html documents.
About Tags
Two type of tags are:
Container Tag: Contains Content
Empty Tag: Does not Contain any content.
Container tag
<html>
<head>
<title>Search Talks</title>
<body> This is my New Post.
</body>
</head>
</html>
Empty Tag:
<body>
This is My new Post.<br/>
</body>
This is empty tag.
How to Save Your HTML Code
Friend’s how to save your file. It’s very important. If you don’t save the file; you cannot find. In html, .html or .htm extensions are used to save a file. Firstly you have to go save option and then type the name of file with an extension of .html or .htm.
Line Break <br> tag.
If you want to make a new line in paragraph then you can use line break tag "<br>". It’s a very useful tag. If you write a paragraph and you want to break the line. So you can use this tag.
<html>
<head>
<title> Search Talks</title>
<body> This is my New Post.<br>
you can read this.<br>
</body>
</head>
</html>
Horizontal Line Represent by <hr> tag.
If you want to create a horizontal line. You can use "hr" tag. Just like you have written " Search Talks" and you use "hr" tag you can use horizontal line. You can represent Horizontal line tag "hr".
<html>
<head>
<title> Search Talks</title>
<body> This is my New Post.<hr>
you can read this.<br>
</body>
</head>
</html>
Inserting Spaces Represented by
If you want to create space between words and paragraph. So you can use " ” It’s a very useful for tag to make space between object.
<html>
<head>
<title> Search Talks</title>
<body>
This is my New Post
</body>
</head>
</html>
Creating paragraph represented by <p> tag.
If you want to create paragraph in your website or webpage then you can use paragraph tag ”<p>".
<html>
<head>
<title> Search Talks</title>
<body>
<p>This is my New Post. This post explain various html tags.</p>
</body>
</head>
</html>
No comments:
Post a Comment