Web Development
Front end
Full stack web development means frontend plus backend development.
Front End vs Back End Explained
Front end development consists of everything that the user directly interacts with.
Two main components of frontend development are:
Responsiveness
Performance
Basics of web architecture:
Website- Front end to interact with the user
Server- Back end to hold and manage all the data
IP address- Address assigned to the website to be accessible on the internet
The user is not concerned with the backend of the website.
HTML helps to structure the webpage.
HTML has nested tags.
Here is an HTML code and the webpage:
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body>
<h1> This is the first heading </h1>
<p> This is a paragraph tag </p>
<h2> This is the second heading </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Bold, Italic, and Underline
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body>
<h1 "font-family: 'Courier New', Courier, monospace;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
How to fill background color all over the webpage
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body style="background-color: pink;">
<h1 "font-family: 'Courier New', Courier, monospace;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Notice how the attributes of h1 tag are making no difference. It is as if they didn't exist.
Adding color to the text
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body style="background-color: pink;">
<h1 style="color:blue;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2 style="color:green;"> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Changing the font style
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body style="background-color: pink;">
<h1 style="font-family:Verdana;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2 style="font-family:Courier;"> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Changing the font style
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body style="background-color: pink;">
<h1 style="font-size:300%;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2 style="font-size:500%;"> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Font alignment
<HTML>
<Head> <Title>I am trying to build a website </Title></Head>
<Body style="background-color: pink;">
<h1 style="text-align: centre;"> This is the first heading </h1>
<p> <i>This is a <b>paragraph</b> tag </i></p>
<h2 style="text-align:right;"> This is the <u>second heading</u> </h2>
<img src= "lupin-tonks-fanart.jpg" width="200" height="200">
</Body>
</HTML>
Further reading:
Comments
Post a Comment