Introduction to HTML (First Line of Code).

Introduction to HTML Code Poster

Before learning the fundamental of HTML, we all should understand the role of HTML (Hypertext Markup Language) in this entire journey of Web Development. 


For developing the front end of any website three languages play a very important role and they are HTML, CSS, and JavaScript. HTML is used to structure and describe the content of the web page, CSS is used to handle the presentation and design part of any web page and JavaScript is the programming language used to add dynamic effects and web applications.


What is HTML?

HTML stands for HyperText Markup Language, it is a markup language used by developers to give structure to the web page and it is not a programming language. HTML consists of elements that describe the different types of content like paragraphs, links, headings, images, videos, etc. Our web browsers can understand HTML and render the HTML code as a website.

Markup Language is those languages that follow a standard text encoding system with some set of symbols that decide the structure or your text document of a web page. (alert-passed)


What is HTML Element?

An HTML element starts with one starting tag some content and one ending tag. Everything including from starting tag to the ending tag is considered one element (All HTML element does not always require a closing tag).

HTML Element

Now let's understand the basic syntax of an HTML document shown below:

Output of HTML Code
The output of Below HTML Code

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title of Web Page - AlgoLesson</title>
</head>
<body>
  <h1>Heading of the Website</h1>
  <p>This is a paragraph.</p>
</body>
</html>

  • The first line of code <!DOCTYPE html> tells that the given document is an HTML5 document.
  • The <html lang="en"> is the root element and all other element is going to lie inside this root tag lang="en" is used to specify the language of the element's content and "en" stand for the English language like this you can check of other languages also.
  • The <head> contains meta information about the HTML page.
  • The <meta charset="UTF-8"> defines the character encoding for HTML documents and from HTML5 onward it is suggested to use the UTF-8 character set because covers almost all characters and symbols. 
  • The line <meta name="viewport" content="width=device-width, initial-scale=1.0"is an instruction to the browser on how to control the dimension and scaling of the webpage. The viewport is defined they are visible to the user base on the device they are using. The "width=device-width is used to set the web page to follow the screen size of the device and initial-scale=1.0 is sued to set the initial zoom level when the web page load for the first time. 
  • The <title> is used to specify the title of the web page, which is visible on the title of the page. 
  • This <body> is the most important tag because any content we are adding here is going to be visible to the user like images, paragraphs, headings, etc.
  • The <h1> is a large heading element like this we have more heading tags h2, h3, h4, h5, and h6.
  • The <p> is a paragraph element used to represent paragraphs.
👉Support Us by Sharing our post with others if you really found this useful and also share your valuable feedback in the comment section below so we can work on them and provide you best ðŸ˜Š.(alert-success) 

Data Structure Tutorial | AlgoLesson

Data Structure Tutorial
The word Data Structure itself explains that it is a way of organizing the data. If we talk in terms of computer science, it is a way of organizing the data into the computer’s memory so that the computer can use the data more effectively. 

In computer science, there are different ways of organizing the data based on its type and requirement, like a known amount of data that belong to the same data type can be stored in the form of an Array data structure. Like this, there are many different ways of organizing the data that we will learn in this complete Data Structure Tutorial. 

Below is the list of topics that we are going to cover in this tutorial and we will also practice enough problems on each topic so you understand how and when to use all different kinds of data structures.


👉Support Us by Sharing our Data Structure Tutorial with others if you really found this tutorial useful and also share your valuable feedback in the comment section below so we can work on them to improve our tutorials ðŸ˜Š.(alert-success) 

Visual Studio Code Setup for Front End Web Development.

Visual Studio Code Setup Poster

Before you start writing any kind of HTML, CSS, or JavaScript code, you first need to install a handy tool called Visual Studio Code Editor. So does it mean that without any code editor you cannot write code any kind of code for your front-end web development? 

The answer to the above question is no, it is not compulsory to have a code editor for writing your frontend code you can use any kind of text editor like notepad for writing your code but having a code editor is very useful because it is designed specifically to help developers with coding. 
 

Why use Visual Studio Code?

There are many code editors available to download on the internet but the Visual Studio Code is the most popular and favorite code editor for any front-end web developer. There are several useful and essential features available in Visual Studio Code which make Visual Studio Code the best code editor but the three main reasons for its popularity is that it is free, open-source, and cross-platform.
Open-source software is software whose source code is publically accessible under a license in which the owner gives permission to users to see or modify the code and they can distribute the source code to anyone for any purpose.(alert-success) 

Cross-platform software is that software that is designed to work on several computing platforms like Windows, macOS, and Linux. Example: Visual Studio Code, Firefox, Chrome, etc.(alert-success)

I hope you get some basic idea of a code editor and Visual Studio Code. You can also go through some frequently asked doubt related to the code editor and Visual Studio Code. 

Now let's start with the download and installing the part. First, follow the link given below and download the Visual Studio Code (stable build) for your Operating like Windows, macOS, or Linux. 

(getButton) #text=(Visual Studio Code) #icon=(download) #color=(#002EFC)

Visual Studio Code Editor website Image

Install the downloaded application on your system like you install any other software for Windows simply double click on it and you will see the below interface. You just need to choose 'I accept the agreement' and click on the Next few times then click on Install

Once you install and open the VS Code editor, it will look something as shown below. Now we will set up the code editor by installing a few small but useful extensions so you can customize the editor more and increase your productivity.

Click on Extensions (Ctrl + Shift + X) from the left panel and search for one extension named Prettier - Code formatter

Prettier - Code formatter Extension
Prettier is a code formatter that enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.(alert-success)

 After the installation is done, click on the Settings icon from the lower-left corner and search for 'Default Formatter' setting and from the drop-down list choose the extension you have just installed as shown in the below image. 

VS Code Default Formatter Setting

Now VS Code should use the Prettier extension to format your code but if you want your code to get formatted automatically then you can do one more set.

Search for the 'Format On Save' setting in the search bar and tick the check box as shown below so VS Code will automatically format your code whenever you save your file.

VS Code Format On Save Setting Img
The next important setting that you need to search is 'Auto Save' and then set this option to 'onFocusChange'. It will automatically save your file when you go to another tab or you completely leave the window.

VS Code Auto Save Setting

The last but very important extension which I personally found very useful is the Live Server extension. It launches the development local server with a live reload feature for static and dynamic web pages. 

Live Server VS Code Extension

It means you don't need to refresh the web browser again and again to see the changes you have made in your code. You will find this so useful when you will start writing a lot of code for designing your web page.

Live Server VS Code Extension GIF

To see your changes parallelly while writing the code, you can split your screen into two half as shown below.

VS Code and Chrome Browser Screen Setup
So that's it. I hope you have done all the required changes and trust me this VS Code setup is going to increase your productivity a lot. 

👉Support Us by Sharing our post with others if you really found this useful and also share your valuable feedback in the comment section below so we can work on them and provide you best ðŸ˜Š.(alert-success) 

Introduction to Web Development

Introduction to Web Development Thumbnail
Web Development

If you are reading this article now then there is a good chance that this is your first introduction to any kind of Web Development. So before we start writing any kind of HTML code for designing the structure of a web page, it will be very useful if we get a basic introduction to Web Development. 

This is just an overview of Web Development and we are not going to deep-dive into each sub-topics because we are going to learn about them in detail in upcoming blog posts. (alert-success)

Whenever you open your browser type the URL of the website you want to visit (ex: www.algolesson.com) and hit enter. You can see that the interface of the website gets loaded in your tab in just a fraction of a second. After the website gets loaded on your browser, you get options to perform many different kinds of activities, you can read the blog post, you can add your comments, or even share them on your social media.

Now let's understand how all these things are happening. So whenever you are trying to access any webpage, your browser sends a request to the web server where that particular webpage is hosted (stored) on the internet. When the server receives the request then it responds back to the browser (client) with all the files that make up the website and sends them back to the browser.

How Website Load on a Browser Poster

A browser can understand only three technologies, HTML, CSS, and JavaScript so whatever you see on your browser must be made up of only these three technologies. Once the browser receives these HTML, CSS, and JavaScript files from the server as a response then it will take the code and load the webpage you are trying to access.

Now as you already understand how a website loads on a browser let's understand how codes are written for such simple or complex websites. 

Difference between front-end and back-end web development?

You can categorize any Web Development into two different types Front End Web Development and Backend Web Development. 

The process of writing the HTML, CSS, and JavaScript code that any browser can understand and display is known as Front End Web Development

When the files that make the website are simply stored on a web server and you receive them on your browser in the same condition without any transformation such websites are also called Static websites. ex: My Portfolio.(alert-passed)

But only Front End technologies are not enough to build big and complex websites like YouTube because if you visit such websites you will notice it keeps on changing every time you visit. You can notice that many new videos are getting uploaded each day, viewers are posting comments, and video suggestions that load on your browser are not the same for all other users. 

So to make a big website like YouTube, you need a whole Application to keep running on the web server with a very Big Database to store all the information of that website. To build such a complex website developers write application code and keep running on web servers and for that developers use backend technologies like PHP, Java, nodejs, Python, etc.

How Website get load on a browser Poster
These application codes take data from the database, process them, and generate files that will be sent to the browser based on the user's request. This entire process is called Backend Web Development because this processing is not visible to the user. 

Such websites which contain both frontend and backend technologies are also called Dynamic websites because the website is dynamically assembled each time when someone tries to visit the website. ex: YouTube (alert-passed)

(getButton) #text=(Setting up the Visual Studio Code Editor) #icon=(link) #color=(#2339bd) 

👉Support Us by Sharing our HTML Course with others if you really found this course useful and also share your valuable feedback in the comment section below so we can work on them to improve our course ðŸ˜Š.(alert-success) 

Complete HTML Tutorial

Learn Complete HTML Poster

HTML is one of the fundamental skills you should learn if you want to be a Web Developer. HTML stands for Hyper Text Markup Language because it uses markups to define the structure and layout of the content of any web page.
Markup Language are those language which follow standard text encoding system with some set of symbols that decide the structure or your text document of a web page.(alert-passed)
In this Complete HTML Tutorial, you are going to learn all fundamentals of HTML with many examples. 

Introduction to Web Development.
HTML Tutorial
Introduction to HTML.
Elements in HTML.
Attributes in HTML.
Headings in HTML.
Paragraphs in HTML.
Styles in HTML.
Formatting in HTML.
Quotations in HTML.
Comments in HTML.
Colors in HTML.
Links in HTML.
Images in HTML.
Favicon in HTML.
Tables in HTML.
Lists in HTML.
Classes in HTML.
Id in HTML.
Iframes in HTML.
JavaScript in HTML.
File Paths in HTML.
HTML Head Explain.
HTML Layout Explain.
Responsive HTML Explain.
HTML Computer code.
Semantics in HTML.
Symbols in HTML.
Charset in HTML.
HTML URL Encode.
HTML Forms.
Forms in HTML.
Form Attributes in HTML.
Form Elements in HTML.
Input Types in HTML.
Input Attributes in HTML.
Input Form Attributes in HTML.
HTML Media.
Media Files in HTML
Video Files in HTML
Audio Files in HTML
Plug-ins in HTML
YouTube in HTML
Complete List of HTML Elements with Example.

DON'T MISS

Nature, Health, Fitness
© all rights reserved
made with by templateszoo