How to learn HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to learn HTML

I've been studying HTML for about 3 long days now and I'm slowly getting it. But I'm getting confused on <doctype! HTML> and <img sec="">? Everytime I setup my <img sec> my image never comes up?

1st Sep 2023, 7:53 PM
Ronald J Washington
Ronald J Washington - avatar
3 Answers
1st Sep 2023, 8:10 PM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 1
<!DOCTYPE html> tells the browser to expect an HTML5 document. <img src=... > is simply a URL of an image. A good way to test an image URL is to just paste it in a browser and see if the image appears. If successful it will probably work in your code.
1st Sep 2023, 8:11 PM
Keith
Keith - avatar
0
Could you please show an example of your code?
1st Sep 2023, 8:05 PM
Bloopjay
Bloopjay - avatar