HTML | Basic #1 | all about the text
Welcome to the First tutorial of HTML
These days Everyone is teaching you online about HTML. It’s easy. You only have to understand the coding that’s all. So I will try to make things fun and easy to learn. Everyone has there own method of teaching. So have fun and let me know what should I improve or you want to understand. Let’s begin
All about the text. But First, let me tell you a little about HTML.
What is HTML?
Opening and closing code
You should always remember the code you have open like <b>. make sure to close them at last like </b> or they will cause trouble. For example, we start developing a page through this code-
<html> <head> <title>Hello</title> <head/>
So we use <html> to start developing page. it is basic. The tag <title> is not displayed in the browser window, but they are used as the page name by search engines and displayed by browsers in the title bar, on the page tab, and like the page name of bookmarked web pages.
Types of font
There are many types of font in HTML as well. We just need to use some tags that’s all. Let me show you some font styles tags.
<b> (b) stands for Bold </b> <br> <i> (i) stands for italic </i> <br> <u> (u) stands for underline </u> <br>
I have shown you 3 types of font. above, there is more of them I will give the link of them under the blog post. So let me show you how these 3 fonts look like.
So as you can see how these fonts look like. Let me explain them.
- The <b> tag is used to make text bold. anything that is written between the <b> </b> will change in bold style.
- The <i> tag is used to make text italic. anything that is written between the <i> </i> will be change in italic style.
- The <u> tag is used to make text underlined. anything that is written between the <u> </u> will be underlined.
How to use the font TAG
The font tag is an awesome code to make the separate text in different color or style. let me show you how.
<font color="red" size="40"> I have set Thefont color red and size 40..thats how it looks </font>
This is how it looks like. Let me explain. The tag <font> is used to style, resize or change the color of selected text. I used <font color=”red”> and <font size=”40″> and it will shown above how its look like. Isn’t it fun?
You can change the font style as well just write <font style=”Comic san ms”> I have used comic san ms you can use your own style. If you want to use all this in one tag use this
<font color=”” style=”” size=””>
Let me tell you an awesome tag
The marquee TAG
This tag is used to move text, image or almost everything. You can move a link as well. To use marquee use this code
<marquee> marquee is used for Move text. </marquee>
You can move the text using this. This is just the basic of text in HTML. Hope you have understood. Please comment and team me your reviews.
Here is the link of the HTML. for better understanding.
|HTML file||text file|
|HTML Chet tags 1||HTML chet tags 2|