Lab 01 manual
Lab 01 manual
Technologies to be studied
• HTML5
• CSS3
• JAVASCTIPY
• Bootstrap5
• React js
• Asp.Net
• Add.net
• MVC
• EF
• Api
Tools – IDEs
Visual studio
TYPES OF WEBSITES
When we type a certain URL in a browser search bar, the browser
requests the page from the Web server and the Web server returns the
required web page and its content to the browser. Now, it differs how the
server returns the information required in the case of static and dynamic
websites.
Static websites Dynamic websites
Content of Web pages cannot be change at runtime. Content of Web pages can be changed.
WHAT IS HTML?
HTML stands for Hypertext Markup Language. It is the standard language used
to create and structure content on the web. It tells the web browser how to
display text, links, images, and other forms of multimedia on a webpage. HTML
sets up the basic structure of a website.
HTML History:
Since the early days of the World Wide Web, there have been many versions of HTML:
Web Browsers
The purpose of a web browser (Chrome, Edge, Firefox, Safari) is to read HTML documents and
display them correctly. A browser does not display the HTML tags, but uses them to determine how
to display the document.
HTML Tags
HTML has two types of tags: container tags (e.g., <h1></h1>, <p></p>) and standalone tags
(e.g., <img>, <input>)
HTML Heading
HTML Paragraph
Link Addressing
• Absolute address
• Relative address
HTML List
INTRODUCTION OF CSS
CSS stands for Cascading Style Sheets. It is a stylesheet language used to style and enhance website
presentation.
CSS is one of the main three components of a webpage along with HTML and JavaScript.
HTML adds Structure to a Webpage, JavaScript adds logic to it and CSS makes it visually appealing or
stylish. It controls the layout of a web page i.e. how HTML elements will be displayed on a webpage.
CSS was released (in 1996), 3 years after HTML (in 1993). The main idea behind its use is, it allows
the separation of content (HTML) from presentation (CSS). This makes websites easier to maintain
and more flexible.
There are three different ways to add CSS styles to an HTML document.
Inline CSS
Use the style attribute on the HTML element to add styles to the web page. It is used for small
projects.
Internal CSS
Place the CSS styles within a <style> tag inside the HTML file, usually inside the <head> section.
. External CSS
Create a separate CSS file with a .CSS extension and link this file to your HTML file using the <link>
tag.
CSS SELECTORS:
CSS selectors are used to select the content you want to style. Selectors are the part of CSS
rule set. CSS selectors select HTML elements according to its id, class, type, attribute etc.
2. CSS Id Selector #
Flex container
The flexible box layout module (usually referred to as flexbox) is a one-dimensional layout model for
distributing space between items and includes numerous alignment capabilities.
When we describe flexbox as being one-dimensional we are describing the fact that flexbox deals
with layout in one dimension at a time — either as a row or as a column.
Display: flex;
Justify-content: center;
Align-item: center;
Flex-wrap:wrap;
Task1
Create a document using HTML tags based on the provided sample.
Task2
Task3
Task4
Using position Create a card or box with multiple overlapping layers, ensuring the third layer is
displayed as the top priority.
Task5
Task7
Create a webpage that display your basic CV, using the tags which you learn in this lab.
Task8
Create a grid layout using flex container according to given sample
Task9
Create a webpage for kitchen appliances that includes a navbar with links for logo, home,
appliances, brands, and contact. Each link should lead to related content, such as images, text, and
descriptions, and the page should also feature a footer.
given sample are:
Task10
Using an HTML table, create a cart layout for products based on the task mentioned above