<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Template</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
/* Style the header */
header {
background-color: green;
padding: 30px;
text-align: center;
font-size: 35px;
color: white;
}
/* Create two columns/boxes that floats next to each other */
nav {
float: left;
width: 30%;
height: 650px; /* only for demonstration, should be removed */
background: #ccc;
padding: 20px;
}
/* Style the list inside the menu */
nav ul {
list-style-type: none;
padding: 0;
}
article {
float: left;
padding: 20px;
width: 70%;
background-color: #f1f1f1;
height: 300px; /* only for demonstration, should be removed */
}
/* Clear floats after the columns */
section:after {
content: "";
display: table;
clear: both;
}
/* Style the footer */
footer {
background-color: #777;
padding: 10px;
text-align: center;
color: white;
}
/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
nav, article {
width: 100%;
height: auto;
}
}
</style>
</head>
<body>
<h2>CSS Layout Float</h2>
<p>In this example, we have created a header, two columns/boxes and a footer. On smaller screens, the columns will stack on top of each other.</p>
<p>Resize the browser window to see the responsive effect (you will learn more about this in our next chapter - HTML Responsive.)</p>
<header>
<img SRC="C:\Users\Student\Downloads\unnamed.jpg" width="270" height="150" style="float: left;padding="10px"/>
<h2>Krirk Univesity</h2>
</header>
<section>
<nav>
<ul>
<li><a href="#">หน้าหลัก</a></li>
<li><a href="#">สาขา</a></li>
<li><a href="#">วิชา</a></li>
</ul>
</nav>
<article>
<h1>หน้าหลัก</h1>
<p>เริ่มต้นเรียนรู้กับสังคมคุณภาพที่ "มหาวิทยาลัยเกริก"</p>
<p><a href="http://www.krirk.ac.th/%E0%B9%81%E0%B8%99%E0%B8%B0%E0%B8%99%E0%B8%B3%E0%B8%A1%E0%B8%AB%E0%B8%B2%E0%B8%A7%E0%B8%B4%E0%B8%97%E0%B8%A2%E0%B8%B2%E0%B8%A5%E0%B8%B1%E0%B8%A2/">แนะนำมหาวิทยาลัย</a>
<p>สาขา Management Information Technology</p>
<ul>
<li>วิชา เทคโนโลยีเว็บ(Web Technology )
<p>คำอธิบายรายวิชา
ความรู้เบื้องต้น เกี่ยวกับการเขียนโปรแกรมบนเว็บ สถาปัตยกรรมเว็บสถาปัตยกรรมไคลเอ้นท์-เชิฟร์เวอร์การเขียนโปรแกรมบนเว็บฝั่งไคลเอ้นท์และฝั่งเชิฟร์เวอร์ เว็บแบบพลวัต จาวาสคริปต์การประยุกต์ใช้บนเว็บ</p>
<p></p>
<p>วัตถุประสงค์</p>
<p>1. เพื่อให้ผู้เรียนเกิดความรู้ความเข้าใจหลักพื้นฐานการเขียนโปแกรมบนเว็บ </p>
<p>2. เพื่อให้ผู้เรียนมีทักษะเบื้องต้นจากการเขียนโปแกรมบนเว็บ </p>
<p>3. เพื่อให้ผู้เรียนเข้าใจในหลักเกณฑ์ของ สถาปัตยกรรมไคลเอ้นท์-เชิฟร์เวอร์</p>
<p>4. เพื่อให้ผู้เรียนเข้าใจในหลักเกณฑ์ การเขียนโปรแกรมบนเว็บฝั่งไคลเอ้นท์และฝั่ง เชิฟร์เวอร์ </p>
<p>5. เพื่อให้ผู้เรียนมีแนวทางในการประยุกต์ การเขียนโปรแกรมบนเว็บสถาปัตยกรรมเว็บ </p>
<p>6. เพื่อให้ผู้เรียนสามารถจัดการ เว็บแบบพลวัตและภาษาจาวาสคริปต์ </p>
<p>7. เพื่อให้ผู้เรียนสามารถกล้าแสดงออกโดยการนำเสนองานในชั้นเรียน</p></li>
</article>
</section>
<footer>
<p><a href="https://sites.google.com/view/aase7en/home">My Google sites</a></p>
</footer>
</body>
</html>