Computer Science, asked by Parvathyks, 5 months ago

Write the HTML tag to :
11. Link to webpage with address www.mmtv.in
12. Create a scrolling text ‘Breaking News
13. Insert an image 'sunset.jpg' to the webpage
14. Display text 'welcome' in red colour​

Answers

Answered by kanishkabalutia86
1

Answer:

11.Use the <a> element to define a link.

Use the href attribute to define the link address.

Use the target attribute to define where to open the linked document.

Use the <img> element (inside <a> ) to use an image as a link

13.How can we set the image as background property?

By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally. Tip: The background of an element is the total size of the element, including padding and border (but not the margin). Tip: Always set a background-color to be used if the image is unavailable.

12.How can you create a scrolling news in HTML?

Below is an example of using the HTML <marquee> tag to create scrolling text.

...

HTML Scrolling Text.

Source Code Result

<marquee behavior="scroll" direction="left">HTML scrolling text... </marquee> HTML scrolling text...

14.You can set the background color of an element to red by using the CSS background-color property or the background shorthand property.

Similar questions