0
HTML <div> tag and <span> tag
I saw the following code while learning HTML and don't know it's meaning. It was not shown in any topic I am currently doing. Please help: <div class="section"> </div> https://code.sololearn.com/1146/#html Also, what is <span> tag?
6 ответов
+ 4
Rakshit firstly you are editing html code in other language section
+ 2
The div tag has an attribute "class" with a value "section". This means that a class section is defined in the css code style the div elements.
For the span tag, it is used as a general inline element for styling.... Nothing special in particular
+ 2
Rakshit I don't mean that.
You should start with html then css then js
+ 2
Rakshit see this your code should be in html editor/window but its in something other.
See this
https://code.sololearn.com/WrZcsqw7G98z/?ref=app
+ 1
AKSHAY Okay... Thanks a lot
0
AKSHAY I have only started HTML, so should I consider it after learning other like CSS or Java?