+ 5

What is "Semantic in HTML?"

HTML

16th Mar 2018, 8:45 AM
Cliff
Cliff - avatar
6 ответов
16th Mar 2018, 1:55 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div>and <span> - Tells nothing about its content. Examples of semantic elements: <form>, <table>, and <article> - Clearly defines its content.
16th Mar 2018, 10:14 AM
Zulfikar Ahmad
Zulfikar Ahmad - avatar
+ 2
(1) To embed an image in an HTML page we use the img tag: <img (2) Then we use the image source attribute src : <img src=" (3) now we write the address of the image. You know it is a valid address if it ends with .jpg or .gif or .png: <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" (4) Finally we apply the closing tag /> or just > . Make sure there is a " just before it: <img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" /
16th Mar 2018, 6:01 PM
Cliff
Cliff - avatar
0
bro...can you help in making a html img src linking upto google...in codeplay ground to....if it is possible
16th Mar 2018, 5:46 PM
Abdullahi Hussein
Abdullahi Hussein - avatar
0
@cliff...unaelewa swahili
16th Mar 2018, 6:03 PM
Abdullahi Hussein
Abdullahi Hussein - avatar
0
thank u man.....but can i embed from google to codeplay ground
16th Mar 2018, 6:06 PM
Abdullahi Hussein
Abdullahi Hussein - avatar