HTML Headings:- You might want to start our website or our text with a header indicating the article title, category, etc.. Well, to write headlines have to use labels <h>.
This label comes with a number from 1 to 6, <h1> to <h6>
Then we will show you the code for six different headings:
</ h1> Large text </ h1> </ h2> Large Text </ h2> </ h3> something bigger than normal </ h3> </ h4>normal </ h4> </ h5>Small text </ h5> </ h6>very small text </ h6>
can see the result :
very large text
Large text Large Text
Something bigger than normal
normal
Small text
very small text
If you've seen the example you will realize that each heading is separated from the preceding and following a line break and in the code that we have not written anything. You can infer therefore that the headers themselves generate a line break.
We can write <h> both uppercase and lowercase. That is, as you would write <h1> <H1>.
HTML Paragraphs:- For writing paragraphs in HTML, we use the <p> tag.
Code- </p>This is a paragraph.</p> </p>This is a paragraph.</p> </p>This is a paragraph.</p>
Result- This is a paragraph. This is a paragraph. This is a paragraph. HTML Links:-
The link address is specified in the href attribute.
Code- <a href="http://whelper.blogspot.com">This is a link</a>
Result-
HTML Images:- For posting images in HTML, we use the <img> tag.
Code- <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWzgUdszp2dg9LLDI9gKuF75s8qo5woczu5zjuQZsGXXd3BcTsrzBHnReh45lxp24Ce6FfFhP8Ikau6JD7mlKaa_LMERWRym5RwRTi6kbRADNhV1Xq5z-8LbUr_p3on1Q5_ZhEyVlRSUs2/s1600/Computer+Helper.png" width="460" height="60" />
Result-
This label comes with a number from 1 to 6, <h1> to <h6>
Then we will show you the code for six different headings:
</ h1> Large text </ h1>
can see the result :
Large text
If you've seen the example you will realize that each heading is separated from the preceding and following a line break and in the code that we have not written anything. You can infer therefore that the headers themselves generate a line break.
We can write <h> both uppercase and lowercase. That is, as you would write <h1> <H1>.
2 comments:
very good for the basic of htm for the begner ...good knowledge sharing .
Hi Sumanta many thanks for this post,I am a newbie in HTML world,this post was easy to understand.Good part was you mentioned what would be the result after doing so and so,that makes understanding easy.Looking forward for more HTML tutorial.
Post a Comment