📝

2. 기본 템플릿

https://getbootstrap.com/에서 다운로드 받을 수 있습니다.
• 실습은 다운로드를 받지 않고 진행하니 다운로드를 안받으셔도 됩니다
 
- 영문 홈페이지 : https://getbootstrap.com/(Ver 5.0.0 )
notion imagenotion image
부트스트랩을 이용한다면 다음과 같은 여러 레이아웃을 만들 수 있습니다. 부트스트랩 공식 홈페이지에서 Examples 탭에서 다양한 레이아웃을 확인해보세요!
유료 템플릿 사이트는 https://wrapbootstrap.com/ 를 참고해보세요.
 
notion imagenotion image
 
 
notion imagenotion image
 
자, 이제 부트스트랩을 적용시켜 보도록 하겠습니다. 다음과 같이 작성하신 다음 001.html로 저장해주세요. 핵심적인 코드만 넣어두었습니다. 그리고 다음 버전에서는 jQuery가 없어지니 이 점도 유념해주세요.
 
아래 코드 작성 시점은 21년 8월 입니다. 이 버전이 너무 오래되었다면 notion에서 commet 부탁드립니다.
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet"> <title>Hello, world!</title> </head> <body> <!-- 기본 UI --> <!-- Bootstrap4에 비해 jquery 없음 --> <!-- 한국 홈페이지는 들어가지 말것, class 이름 다름 --> <h1>hello world</h1> <!-- JavaScript --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"></script> </body> </html>