Task:1[ HTML Different Elements ]
Study the below elements and use all of them in your webpage with details of the element that you used.
Write a paragraph about your any favourite thing(like hero, heroin, politician, food, planet, god...) and use all these in that paragraph and heighlit in the output that where your used the below tags.
Write a paragraph about your any favourite thing(like hero, heroin, politician, food, planet, god...) and use all these in that paragraph and heighlit in the output that where your used the below tags.
- <Div>
- <Span>
- <P>
- <Br>
- <a>
- <b>
- <strong>
- <i>
- <em>
- <mark>
- <small>
- <del>
- <ins>
- <sub>
- <sup>
- <q>
Steps:
- Create some divisions with div tag and specify with different background-colors.
- Create some paragraphs using p tag and enter some data.
- Use all the above mentioned tags with in the paragraphs.
- Make a heading to each paragraph to specify which tag was used in that particular paragraph.
- Using padding, margin-bottom and margin-top options make it well displayed form.
- Make an hyperlink for heading1 with help of a tag to redirect to www.trubomodus.com
Code:
Output:
Task:2[ Attributes ]
- <href>
- <img>
- <src>
- <width>
- <height>
Steps:
- Insert images using img tag and make those in center position of web page.
- Make some of those images as link to some websites.
- Create some paragraphs to give description about images.
- Make heading to all images.
- Make changes in font style and size.