Assignment
Assignment
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<!-- Content goes here -->
</body>
</html>
1. Inline Styles
Inline styles involve adding CSS styles directly to an HTML element using the `style` attribute.
Example:
<p style=background-color: blue; font-size: 18px;> This text is blue and large </p>
2. Internal Styles
Internal styles involve adding CSS styles to an HTML document using the `<style>` element,
typically in the `<head>` section.
Example:
<head>
<style>
p{
color: blue;
font-size: 18px;
}
</style>
</head>
<body>
<p>This text is blue and large.</p>
</body>
3. External Styles
External styles involve linking an external CSS file to an HTML document using the `<link>`
element.
Checkboxes
1. Allow multiple selections: Checkboxes enable users to select one or more options from a list.
2. Used for: Checkboxes are ideal for situations where users need to choose multiple options,
such as:
- Selecting multiple interests or hobbies.
- Choosing multiple files to download or delete.
- Agreeing to multiple terms and conditions.
Radio Buttons
1. Allow single selection: Radio buttons enable users to select only one option from a list.
2. Used for: Radio buttons are suitable for situations where users need to choose only one
option, such as:
- Selecting a payment method (e.g., credit card, PayPal).
- Choosing a shipping option (e.g., standard, express).
- Answering a multiple-choice question.
Inline Tags
1. Do not start a new line: Inline tags do not begin a new line in the document flow.
2. Take up only the space needed: Inline tags only occupy the space required by their content.
3. Can be used within block tags: Inline tags can be nested within block tags.
4. Examples: `<span>`, `<a>`, `<img>`, `<input>`, `<label>`, `<strong>`, `<em>`, etc.
Block Tags
1. Start a new line: Block tags begin a new line in the document flow.
2. Take up the full width: Block tags occupy the full width available, unless otherwise specified.
3. Can contain inline and other block tags: Block tags can contain both inline and other block
tags.
4. Examples: `<p>`, `<h1>`, `<h2>`, `<h3>`, `<div>`, `<section>`, `<article>`, `<ul>`, `<ol>`,
`<li>`, etc.
Meta charset = UTF-8: It specifies the character encoding of the HTML document and tell the
browser how to interpret the character in the document.
Mete name = viewport: use to specify information like the viewport for mobile devices.
During this week, on Monday I was assigned a teacher who introduced the course
bootstrap to me, where I learned about the div principle. Div are created to make every
information appear in a block depending on specific class you give. In a div class row many
columns can be created providing the total sum of the column should not exceed 12 and may
row also can be created in a class column. I also learn how to use some file from then vendor
folder and import some link use for bootstrap. I also learned how to put background colors,
colors to text, margins, padding bootstrap colors like danger, primary, info, secondary, warning.
Form-control used to permit an input to respond to bootstrap input type and btn for bootstrap
button which are used in a class. In this project we used bootstrap framework, html, and font-
awesome library.