[chap.1]html을 시작했다
1. <p> 랑 <div>랑 보여지는 모습은 같은데 쓰임에 어떤 차이가 있을까?
In this case, this is done purely for demonstrative purpose. In the future you will find that <div> elements are often used to group related content. This can serve to give a page some added structure and to allow for more modular styling. It is primarily for the content creator and used to distinguish between paragraphs and sets of content.
2. <h1> ~<h6> 까지의 headings가 있다.
3. <div>를 쓸 때
Remember to always add two spaces of indentation when you nest elements inside of <div>s for better readability.
4. id 선언을 배웠는데 이건 아직 잘 모르겠다.
5. <span>

Let's set the world on <span style="color:red">fire</span>
->
Let's set the world on fire
I'm going to add a <span style="font-weight:bold">bold</span>and add an <span style="font-style:italic">italic</span>
->
I'm going to add a bold and add an italic(대충 이탤릭체)
근데 여기서!
<span style="font-weight:bold"> 대신 <strong>
<span style="font-style:italic"> 대신 <em>
으로 간단하게 쓸 수 있다
등등.. 나머지는 css를 배우며 알아보기로!
6. Line breaks
The spacing between code in an HTML file doesn’t affect the positioning of elements in the browser
but we can easily use HTML’s line break element : <br>
it is only composed of a starting tag.
맷돌이 늘어선 가게에 들어가 다양한 곡물의 맛이동시에 느껴지는 빵을 한입 베어 물어 물었다.
그때 느꼈던 감동의 맛이 착각이 아니었다.
오랜만에 다시 먹어본 독일 빵에 완전히 마음을 뺏기고 말았다.
->
맷돌이 늘어선 가게에 들어가 다양한 곡물의 맛이동시에 느껴지는 빵을 한입 베어 물어 물었다.그때 느꼈던 감동의 맛이 착각이 아니었다.오랜만에 다시 먹어본 독일 빵에 완전히 마음을 뺏기고 말았다.
여기서<br>을 활용해주면
맷돌이 늘어선 가게에 들어가 다양한 곡물의 맛이동시에 느껴지는 빵을 한입 베어 물어 물었다.<br>
그때 느꼈던 감동의 맛이 착각이 아니었다.<br>
오랜만에 다시 먹어본 독일 빵에 완전히 마음을 뺏기고 말았다.<br>
->
맷돌이 늘어선 가게에 들어가 다양한 곡물의 맛이동시에 느껴지는 빵을 한입 베어 물어 물었다.
그때 느꼈던 감동의 맛이 착각이 아니었다.
오랜만에 다시 먹어본 독일 빵에 완전히 마음을 뺏기고 말았다.