Introduction to Web and HTML

Introduction to Web and HTML

What is a Server?

A Server is a software that is used to store the data, and files which are created locally on our system.

What is a web server?

As the name suggests, a web server is a computer that stores all the web pages and files , such as HTML documents, images, CSS stylesheets, and JavaScript files.

Apache

Apache HTTP Server is a free and open source application used to delivers web content via the Internet . It quickly become the most popular HTTP client on the web.

Live Server

Live server is an extension which detects any change in the static file like HTML, CSS and JavaScript, located in our computer with live browser reload.

What is HTML?

HTML is an acronym that stands for Hyper Text Markup Language which is used for creating web pages and web applications.

Hyper Text: HyperText means "Text within Text." HyperText is a way to link two or more web pages with each other.

Markup language: Markup language makes the text more interactive and dynamic. It can turn text into images, tables, links, etc.

Tag

An Html tag is used to differentiate between 2 tags. It is always written using angular brackets like <>.....</>.

<p> Hello world.</p>

Attribute

An attribute is adding additional information to a particular tag.

<p title="Coder">This is a paragraph.</p>

Here title is an attribute.

Basic Elements

Headings

These elements are used to give a heading on a page.

<h1>Heading 1</h1>
<h2>Heading 2</h2>

Paragraph

Here Paragraph element is used to write a paragraph.

<p> This is Paragraph tag</p>

What is Lorem?

"Lorem" is a dummy text which is used by most of the developers in their HTML templates to replace real world data with dummy data.

HTML Image Tag

This tag is used to display images on the web page. The HTML img tag is an empty tag that contains attributes only, closing tags are not used in the HTML image elements.

Attributes of HTML Img tag

src- Specifies the path to the image.

alt - Specifies an alternate text for the image.

<img src="url" alt="alternatetext">