Web pages
What is a Web Page?
A web page is a single document on the internet that is part of a website. It is displayed in a web browser and can contain text, images, videos, links, and interactive elements.
Types of Web Pages
1️⃣ Static Web Page
- Fixed content that does not change unless manually updated.
- Written in HTML and CSS.
- Example: A personal blog or an "About Us" page.
2️⃣ Dynamic Web Page
- Content changes based on user input or database interactions.
- Uses JavaScript, PHP, Python, or databases.
- Example: Social media feeds, online shopping websites.
3️⃣ Home Page
- The main page of a website that loads first.
- Example: www.google.com (Google’s homepage).
4️⃣ Landing Page
- A special page designed for marketing or promotions.
- Example: A signup page for an online course.
5️⃣ Product Page
- Found on e-commerce websites, showcasing a specific product.
- Example: An Amazon product page.
6️⃣ Blog Page
- Contains articles or posts, usually updated regularly.
- Example: A tech news website.
Elements of a Web Page
- Header – The top section with a logo, menu, and navigation links.
- Navigation Bar – A menu with links to other web pages.
- Content Area – The main section containing text, images, and videos.
- Hyperlinks – Clickable links that take users to other web pages.
- Footer – The bottom section with contact details, copyright, and social media links.
How Web Pages Work?
- A user enters a URL in a web browser.
- The browser requests the web page from a web server.
- The server responds with an HTML file.
- The browser processes the HTML, CSS, and JavaScript to display the web page.
- If the web page is dynamic, it fetches new data from a database when needed.
Examples of Web Pages
- Search Page – www.google.com
- Social Media Page – www.facebook.com/profile
- News Page – www.bbc.com/news
- E-commerce Page – www.amazon.com/laptops
Qus. 1 : Which language is used for creating Web Pages?
- PASCAL
- C
- HTML
- BASIC