HTML Tutorial – 6
(Images and Paragraphs in HTML)
Hello everyone. Hope you are in best of your health. Our HTML
tutorials are going well, I am sure you have practiced about what you have
learned so far because for a programmer practice is very very important.
Practice makes a man perfect, it is true.
Till now we have learned how we can style text in HTML so we
can now easily start to use text in many other tags like link names and image
names and inserting other text information.
Today we are going to learn how to add a paragraph using <p> tag and how to insert an
image into a webpage using <img>
tag. So lets begin, <p>
tag is used to insert a paragraph into a page simply. It goes like this, <p>”all the paragraph text goes
here”</p> for example:-
As you can see text in both paragraphs are automatically
separated and printed in two separate lines.
Output will be like this, note the test in the corner of the image, it is here because my mouse pointer was there when I captured this snapshot. Test and try other properties of the tag. Thanks for reading.




No comments:
Post a Comment