Introduction to Web and HTML
What is Server?
It is simply a thing that can serve. It accepts the user's request and gives appropriate output in the form of a response. For example, if you search for a particular video on youtube, the video is stored somewhere in a database of youtube. By using a server it gives output on your screen. It uses HTTP(Hyper Text Transfer Protocol) to serve data.
What is an Apache Server?
It is the most famous and mostly used server by developers. The data which is stored in the database can display that data in form of a GUI. The benefits of the apache server are as per below.
It is open-source software.
It can create non-hackable websites.
By using Apache, developers can use computer hardware optimally.
It is fast, reliable and secure.
It can be customized to meet the need of different environments.
What is Live Server?
A live server is a very important element for developing a website. As the developer updates the code or applies the change, it directly reflects the changes in the browser. The live server updates the webpage parallel without refreshing the webpage every time.
What is HTML?
HTML stands for Hyper Text Markup Language. It is a very basic form of a website. It defines the structure of a website. This markup language is made of different elements. These elements are used to add different kinds of text and images to the webpage. HTML uses tags to display things on a webpage. Here are some examples of tags that are used commonly by developers.
Basic tag of HTML:
1)<p> tag:
This tag is used to display normal text on the webpage.
Here, <p> is starting tag and </p> is the closing tag.
"how are you?" is the content.
It displays "how are you?" on the webpage.
This is the basic structure used by HTML to display content on a webpage.
2) <h1>,<h2> tag:
- Here is an example of a heading tag, which is used to give a heading to the webpage in a different size.
3)<img> tag:
Developers use <img> tag to insert images on the webpage. <img> tag has two attributes.
The src attribute is used to show the path of the image.
The alt attribute is used to display the alternative content, in case of the image is not available. It is not a mandatory attribute. It also displays the information of the image.
4) Lorem:
Lorem is a random text generator. Developers use this tool to make a layout of the website in the developing phase.
For example, Developers want to display the design of a webpage, which contains a paragraph of 100 words. At that time it is not feasible to type 100 words for the developer. Lorem can help him to generate this kind of text, which has no meaning itself. Lorem just displays content.
ex.lorem5-Display 5 words content.
lorem100-Display 100 words of content.