formatting | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

formatting

i am just starting to learn about html and i came this topic 'formatting' in the coding example that was given i came across something like "<div class="section">" and "<link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet">" please can someone help me explain

22nd Dec 2017, 7:04 PM
Aminu Ibrahim Gambo
Aminu Ibrahim Gambo - avatar
3 Answers
+ 3
<div class="x"> - div is a container, class is some kind of a tag. You can give the same class name to different elements, and you can later call them in css. <link href"#"> - In your case its for a font i guess. rel="stylesheet" - this is used to make a 'connection' between html and css document. I am not good at explaining, so if I made a mistake, correct me.
22nd Dec 2017, 7:31 PM
Ice
Ice - avatar
0
Hallo
6th Oct 2019, 2:05 PM
Wahyu Illahi
Wahyu Illahi - avatar
0
hello
9th Mar 2021, 11:48 AM
Bright Amadi
Bright Amadi - avatar