Premium Only Content
How To Create Links And Images In Html | Day 4 Of 100 Days Of Web Development
Creating Links:
Directly Add URL: Simply type the URL of the website you want to link to in your description. YouTube automatically converts it into a clickable link. This is the simplest method but lacks visual appeal.
Use Anchor Tags (<a> and </a>):
Within your description text, write the anchor text you want viewers to click.
Enclose the anchor text with the opening <a> tag.
Add the href attribute inside the <a> tag, specifying the URL of the website you're linking to.
Close the tag with </a>.
Example:
HTML
Check out my website for more information: My Website
Use code with caution. Learn more
Adding Images:
1)Embed images directly: You can't directly upload images to your YouTube description. However, you can embed images hosted on other websites using the <img> tag.
Find the URL of the image you want to embed.
In your description, use the <img> tag.
Add the src attribute inside the <img> tag, specifying the image URL.
Optionally, you can add the alt attribute to describe the image for accessibility.
Close the tag with />.
2)Use a link to the image: If embedding isn't possible, you can use the <a> tag as described before, but instead of linking to a website, link to the image URL. Clicking the anchor text will open the image in a new browser tab.
Important Points:
Ensure the links open in a new tab or window by adding target="_blank" inside the <a> tag.
Use relevant and descriptive anchor text.
Choose images that are relevant to your video and visually appealing.
Keep the size and number of images reasonable to avoid cluttering the description.
-
1:02:15
Russell Brand
4 hours agoThe Economics of Disease: Why the System Wants You Sick - SF513
80.6K79 -
1:56:16
The Charlie Kirk Show
2 hours agoThe Confirmation Cascade + Britain Bans Blockers | Hawley, Cole, Paul | 12.12.24
48.8K12 -
LIVE
The Dana Show with Dana Loesch
2 hours agoFBI DIRECTOR CHRIS WRAY ANNOUNCES RESIGNATION | The Dana Show LIVE On Rumble!
648 watching -
50:51
Grant Stinchfield
2 hours ago $0.84 earnedTo Many on the Left Embrace Violence to Achieve an Outcome... They are Sick!
6.93K6 -
1:09:01
CoachTY
2 hours agoCRYPTO TALK
23.9K8 -
2:04:21
LFA TV
17 hours agoTAKING OUT THE TRASH! | LIVE FROM AMERICA 12.12.24 11am EST
42.6K28 -
TheAlecLaceShow
4 hours agoGuests: Senator Tommy Tuberville & Asm. Brian Bergen | NJ Drones | Trump Time | The Alec Lace Show
3.66K -
59:24
The Dan Bongino Show
5 hours agoWhat Is The Government Hiding From Us? (Ep. 2387) - 12/12/2024
602K1.85K -
1:39:33
Benny Johnson
4 hours ago🚨Libs FREAK As Trump Puts Kari Lake in Charge of American Media, Trump WINS Time's 'Person of Year'
72.2K80 -
1:06:08
The Rubin Report
3 hours agoRogan Is Outraged When He Finds Out Dems' Unexpected Pardon Plans
69.8K41