티스토리 뷰
We do that for organisation
Code is a lot more readable when it is organized using IDs, classes, and divs.
id is for individual elements. For example, <h1 id="botswana">
and apply at css file. For example like above, #botswana
It can labled same name and control at once
IDs label HTML elements that are unique to the web page (an element that appears only once).
Class is similar to id, but in css file, we write little bit differently. for example, .science
Classes label elements that will share the same styling. They make styling more efficient.
div is for big group. Even can including another div.
The <div> groups elements together. It makes the HTML file easier to read by organizing the web page into logical sections.
some elements could have more than one class or div
HTML elements can be labeled with multiple classes.
Its vital tool in editing and organizing html
Divs are one of the most commonly used HTML elements. Understanding how they are used is a critical skill for web developers.
Code is a lot more readable when it is organized using IDs, classes, and divs.
id is for individual elements. For example, <h1 id="botswana">
and apply at css file. For example like above, #botswana
It can labled same name and control at once
IDs label HTML elements that are unique to the web page (an element that appears only once).
Class is similar to id, but in css file, we write little bit differently. for example, .science
Classes label elements that will share the same styling. They make styling more efficient.
div is for big group. Even can including another div.
The <div> groups elements together. It makes the HTML file easier to read by organizing the web page into logical sections.
some elements could have more than one class or div
HTML elements can be labeled with multiple classes.
Its vital tool in editing and organizing html
Divs are one of the most commonly used HTML elements. Understanding how they are used is a critical skill for web developers.
'AU Study > TAFE' 카테고리의 다른 글
w4 tue afternoon (0) | 2017.08.09 |
---|---|
W4 Tue morning (0) | 2017.08.09 |
W3 fri afternoon (0) | 2017.08.06 |
W3 fri morning (0) | 2017.08.06 |
W3 thu afternoon (0) | 2017.08.06 |
댓글