Skip to content

DANLOANS/-4-menu-web-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

HTML

  • HTML Syntax: The code starts with HTML syntax that specifies the version and language.
  • Linking CSS and Font Awesome: Code imports CSS files from the Font Awesome CDN to use the icons defined in the website.
  • Styling the Webpage: CSS code styles the webpage, such as the size and shape of the navbar, header of the content, and specifying external links.
  • Header and Content Sections: The initial code sets up the website name and navbar containing links to the home, travel, about, and contact pages. The content section displays information about the homepage.
  • Font Awesome Icons Setup: JavaScript code is used to assign Font Awesome icons to links that open in new windows.

CSS

  • General Styling: CSS code sets general styles for the website, such as margin, padding, and box-sizing.
  • Navbar Styling: CSS code styles the navbar, including background color, link size, and shape.
  • Header and Text Styling: CSS code styles headers and text, including font size, font color, and text shadow.
  • Image Box Styling: CSS code styles image boxes, which are linked to external webpages. Hovering over the images changes the background color and size of the header displayed on the image.
  • Additional Styling: CSS code adds additional styles, such as adding text before image boxes when hovering over the images.

This code is used to create a visually appealing and functional travel website using HTML, CSS, and Font Awesome icons for convenient and beautiful access to information and external links.

HTML

  • ประกอบศัพท์ HTML: โค้ดเริ่มต้นด้วยประกอบศัพท์ HTML ที่กำหนดเวอร์ชันและภาษา.
  • การเชื่อมโยง CSS และ Font Awesome: โค้ดนำเข้าไฟล์ CSS จาก CDN ของ Font Awesome เพื่อใช้ไอคอนที่กำหนดไว้ในเว็บไซต์.
  • การกำหนดรูปแบบหน้าเว็บ: โค้ด CSS ที่กำหนดรูปแบบหน้าเว็บ เช่น ขนาดและรูปร่างของ Navbar, ส่วนหัวของเนื้อหา, และการระบุลิงก์ภายนอก.
  • ส่วนหัวและส่วนเนื้อหา: โค้ดส่วนหัวเริ่มต้นที่กำหนดชื่อเว็บไซต์และ Navbar ที่ประกอบด้วยลิงก์ที่นำไปยังหน้าหลัก, หน้าเว็บท่องเที่ยว, เกี่ยวกับเรา, และติดต่อ. ส่วนเนื้อหามีการแสดงข้อมูลเกี่ยวกับหน้าหลักของเว็บไซต์.
  • การกำหนดเครื่องหมายของ Font Awesome: โค้ด JavaScript ที่ใช้ในการกำหนดเครื่องหมายของ Font Awesome ให้กับลิงก์ที่เปิดในหน้าต่างใหม่.

CSS

  • การกำหนดรูปแบบทั่วไป: โค้ด CSS ที่กำหนดรูปแบบทั่วไปของเว็บไซต์ เช่น การตั้งค่าของ margin, padding, และ box-sizing.
  • การกำหนดรูปแบบ Navbar: โค้ด CSS ที่กำหนดรูปแบบของ Navbar เช่น สีพื้นหลัง, ขนาดและรูปร่างของลิงก์.
  • การกำหนดรูปแบบของหัวข้อและข้อความ: โค้ด CSS ที่กำหนดรูปแบบของหัวข้อและข้อความ เช่น ขนาดตัวอักษร, สีตัวอักษร, และเงาของข้อความ.
  • การกำหนดรูปแบบของกล่องภาพ: โค้ด CSS ที่กำหนดรูปแบบของกล่องภาพ ซึ่งใช้เป็นลิงก์ไปยังหน้าเว็บภายนอก. การนำเมาส์ไปชี้ที่รูปภาพจะทำให้เกิดการเปลี่ยนแปลงสีพื้นหลังและขนาดของตัวหัวข้อที่แสดงอยู่บนรูปภาพ.
  • การเพิ่มสไตล์เพิ่มเติม: โค้ด CSS ที่ใช้ในการเพิ่มสไตล์เพิ่มเติม เช่น การเพิ่มข้อความก่อนกล่องภาพเมื่อเมาส์ชี้ไปที่รูปภาพ.

โค้ดนี้ถูกใช้ในการสร้างเว็บไซต์เดินทางที่มีดีไซน์ที่น่าสนใจและมีความสวยงามโดยใช้ HTML, CSS, และไอคอนจาก Font Awesome เพื่อให้ผู้ใช้สามารถเข้าถึงได้

About

เว็บเทมเพรต 4 เมนู

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages