fsw intro
fsw intro
A full stack developer is someone who is proficient in working with both the
processes.
Frontend Development:
components.
• Angular: A comprehensive JavaScript framework maintained by
3. Backend Development:
5. Database Management:
managing data.
Python.
history.
and provide additional features like issue tracking, code reviews, and
continuous integration.
workflow.
Full stack web development requires proficiency in both frontend and backend
deployment processes, and best practices for building scalable and maintainable
web applications.
create and structure content on web pages. Here are the basics of HTML:
html
<!DOCTYPE html> <html> <head> <title>Title of the Document</title>
HTML.
document.
angle brackets (<>). Each tag typically has an opening tag, content, and a
closing tag. Some elements are self-closing and don't require a closing tag.
Example:
html
<p>This is a paragraph.</p>
information about the element. Attributes are specified within the opening
Example:
html
and more.
• Headings: <h1> to <h6> for defining headings of varying
importance.
forms.
Example:
html
Example:
html
HTML Elements:
HTML (HyperText Markup Language) elements are the building blocks used
to create web pages. Each element represents a specific structure or content within
the page.
headings of different levels of importance, with <h1> being the highest and
Example:
html
of text.
Example:
html
<p>This is a paragraph.</p>
2. Link Element (<a>): The <a> element is used to create hyperlinks to other
Example:
Html
3. Image Element (<img>): The <img> element is used to insert images into
Example:
html
4. List Elements (<ul>, <ol>, <li>): HTML provides elements for creating
both unordered lists (<ul>) and ordered lists (<ol>), with list items
Example:
html
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<ol>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
can be used to group and style content or layout sections of a web page.
Example:
html
html
Example:
html
password"><br>
<button type="submit">Submit</button>
</form>
These are just a few examples of HTML elements. HTML offers a wide range of
elements for structuring content, creating interactive features, and styling web
web development.
HTML Attribute
about the elements or attributes are the modifier of the HTML element.
o Each element or tag can have attributes, which defines the behaviour of
that element.
o The Attribute should always be applied with its name and value pair.
o The Attributes name and values are case sensitive, and it is recommended,
o You can add multiple attributes in one HTML element, but need to give
placed inside the element's opening tag. All attributes are made up of two parts: a
• The name is the property you want to set. For example, the paragraph
page.
• The value is what you want the value of the property to be set and
Syntax
<element attribute_name="value">content</element>
Example
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p style="height: 50px; color: blue">It will add style property in element<
/p>
</body>
</html>
HTML Attributes
The <a> tag defines a hyperlink. The href attribute specifies the URL of the page
Example
The <img> tag is used to embed an image in an HTML page. The src attribute
Example
<img src="img_viswa.jpg">
There are two ways to specify the URL in the src attribute:
1. Absolute URL - Links to an external image that is hosted on another website.
2. Relative URL - Links to an image that is hosted within the website. Here, the
URL does not include the domain name. If the URL begins without a slash, it will
The <img> tag should also contain the width and height attributes, which specify
Example
The required alt attribute for the <img> tag specifies an alternate text for an
image, if the image for some reason cannot be displayed. This can be due to a
slow connection, or an error in the src attribute, or if the user uses a screen reader.
Example
The style attribute is used to add styles to an element, such as color, font, size,
and more.
Example
<p style="color:red;">This is a red paragraph.</p>
You should always include the lang attribute inside the <html> tag, to declare the
language of the Web page. This is meant to assist search engines and browsers.
<!DOCTYPE html>
<html lang="en">
<body>
...
</body>
</html>
Country codes can also be added to the language code in the lang attribute. So,
the first two characters define the language of the HTML page, and the last two
The following example specifies English as the language and United States as the
country:
<!DOCTYPE html>
<html lang="en-US">
<body>
...
</body>
</html>
The value of the title attribute will be displayed as a tooltip when you mouse over
the element:
Example
HTML Formatting
and feel.
• There are many formatting tags in HTML. These tags are used to
text.
o Logical tag: These tags are used to add some logical or semantic value
to the text.
Element Description
name
<b> This is a physical tag, which is used to bold the text written
between it.
<strong> This is a logical tag, which tells the browser that the text is
important.
<big> This tag is used to increase the font size by one conventional
unit.
<small> This tag is used to decrease the font size by one unit from base
font size.
HTML Links
When you move the mouse over a link, the mouse arrow will turn into a
little hand.
Note: A link does not have to be text. A link can be an image or any other
HTML element!
HTML Links - Syntax
The HTML <a> tag defines a hyperlink. It has the following syntax:
The most important attribute of the <a> element is the href attribute, which
The link text is the part that will be visible to the reader.
Clicking on the link text, will send the reader to the specified URL
address.
HTML Lists
HTML Lists are used to specify lists of information. All lists may contain one or
more list elements. There are three different types of HTML lists:
In the ordered HTML lists, all the list items are marked with numbers by default.
It is known as numbered list also. The ordered list starts with <ol> tag and the list
<ol>
<li>Aries</li>
<li>Bingo</li>
<li>Leo</li>
<li>Oracle</li>
</ol>
In HTML Unordered list, all the list items are marked with bullets. It is also
known as bulleted list also. The Unordered list starts with <ul> tag and list items
<ul>
<li>Aries</li>
<li>Bingo</li>
<li>Leo</li>
<li>Oracle</li> </ul>
HTML Description list is also a list style which is supported by HTML and
XHTML. It is also known as definition list where entries are listed like a
dictionary or encyclopedia.
The definition list is very appropriate when you want to present glossary,
<dl>
<dt>Aries</dt>
<dt>Bingo</dt>
<dt>Oracle</dt>
</dl>
HTML Table:
HTML tables allow web developers to arrange data into rows and columns.
Example
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
Table Cells
Everything between <td> and </td> are the content of the table cell.
<table>
<tr>
<td>Emil</td>
<td>Tobias</td>
<td>Linus</td>
</tr>
</table>
A table cell can contain all sorts of HTML elements: text, images, lists, links,
Table Rows
Each table row starts with a <tr> and ends with a </tr> tag.
<table>
<tr>
<td>Emil</td>
<td>Tobias</td>
<td>Linus</td>
</tr>
<tr>
<td>16</td>
<td>14</td>
<td>10</td>
</tr>
</table>
You can have as many rows as you like in a table; just make sure that the number
Table Headers
Sometimes you want your cells to be table header cells. In those cases use the
Example
<table>
<tr>
<th>Person 1</th>
<th>Person 2</th>
<th>Person 3</th>
</tr>
<tr>
<td>Emil</td>
<td>Tobias</td>
<td>Linus</td>
</tr>
<tr>
<td>16</td>
<td>14</td>
<td>10</td>
</tr>
</table>
Tag Description
To add a border, use the CSS border property on table, th, and td elements:
table, th, td {
HTML tables can adjust the padding inside the cells, and also the space between
the cells.
Cell padding is the space between the cell edges and the cell content.
Example
th,
td {
padding: 15px;
To add padding only above the content, use the padding-top property.
And the others sides with the padding-bottom, padding-left, and padding-
right properties:
Example
th,
td {
padding-top: 10px;
padding-bottom: 20px;
padding-left: 30px;
padding-right: 40px;
To change the space between table cells, use the CSS border-
Example
table
border-spacing: 30px;
HTML Frames:
HTML frames are used to divide your browser window into multiple
The window is divided into frames in a similar way the tables are
Syntax:
Disadvantages of Frames
There are few drawbacks with using frames, so it's never recommended to use
• Some smaller devices cannot cope with frames often because their screen
• The browser's back button might not work as the user hopes.
• There are still few browsers that do not support frame technology.
The <frame> tag is no longer recommended as it is not supported by HTML5.
Instead of using this tag, we can use the <iframe> or <div> with CSS to achieve
Creating Frames:
• The <frameset> tag defines how to divide the window into frames.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Frames</title>
</head>
<frameset rows="10%,80%,10%">
<noframes>
<body>
</body>
</noframes>
</frameset>
</html>
specifies how many columns are contained in the frameset and the size of
each column. You can specify the width of each column in one of four
ways −
Here the window is divided into sixths: the first column takes up
half of the window, the second takes one third, and the third takes
one sixth.
2 rows
This attribute works just like the cols attribute and takes the same values,
but it is used to specify the rows in the frameset. For example to create
two horizontal frames, use rows="10%, 90%". You can specify the height
3 border
This attribute specifies the width of the border of each frame in pixels.
4 frameborder
5 framespacing
This can take any integer value. For example framespacing="10" means
HTML Blocks:
easier for browsers, search engines, and site visitors to understand the
Block Elements
Block level elements appear on the screen as if they have a line break before
• Paragraph tag
• Heading tag
• List tags
• Blockquote tag
They all start a new line on their own, and anything that follows them appears on
In this example, we are going to use some of the block level elements.
<!DOCTYPE html>
<html>
<head>
<title>HTML Iframes</title>
</head>
<body>
<p>This line will appear in the next line after Heading. </p>
<hr />
</body>
</html>
Inline Elements
Inline elements, on the other hand, can appear within the same line and
For example;
<!DOCTYPE html>
<html>
<head>
<title>HTML Iframes</title>
</head>
<body>
</body>
</html>
HTML Layouts
• HTML layouts provide a way to arrange web pages in well-mannered,
document.
• Web page layout is the most important part to keep in mind while creating
a website so that our website can appear professional with the great look.
• You can also use CSS and JAVASCRIPT based frameworks for creating
HTML has several semantic elements that define the different parts of a web page:
• <header> - Defines a header for a document
or a section
contained content
a section
• CSS Flexbox: Ideal for dynamic layouts, easily adjusting content across
HTML is the foundation of web pages and is used for webpage development by