Webservers &  <Html>

Webservers & <Html>

·

3 min read

Contents :-

  • Web Servers
  • Html Tags - h1 , h2 , p .
  • img tag
  • lorem ipsum

Hello everyone , hope you all are good i recently joined web development javascript bootcamp at @iNeuron by Hitesh Chaudhary sir and this is the start of my learning about web development and here is my first article on topics mentioned above :-

Web Servers

  • Web server consist of a hardware (computer) and a software(web server software) which works on the http protocol . It stores large amount of website files like all the Html documents , css stylesheets , images and various other related files .
  • How it works :-

  • web servers works on the http protocols .
  • when the browser send request to the server via http protocol , web server recieve the request and search the related document and send it back to the browser .

Apache :-

  • Apache is the web server launched in 1995 , and since then it is the number one http web server available on the internet .
  • It provides secure and efficient services and it does not cost money to use there services .

h1 , h2 ,p tags :-

h1 & h2 - are the heading tags of html . Always remember to put only one h1 tag on a single page which tells the major content of the page and always follow the series like h1 then use h2 and so on... otherwise it create confusion for some users which uses other reading technology.

p tag :-

  • p element represents a paragraph in html . browsers usually insert a single blank line before and after the p element. It automatically closes if we pass another p element before ending the first one .

img :-

  • img tag is used to insert image in your web page . *Technically images are not inserted in your web page , images are attached to your document with the help of img tag.
  • img tag has two important attributes :-
  • src = we have to enter source of the image (image address) which we have to insert.
  • alt = In this we enter alternate text which will be displayed in case of any error .

  • We should always mention the "width" and "height" of the image so that the page should not flicker while loading image on our webpage.

    Lorem ipsum :-

  • lorem ipsum is the emmet abbreviation used to display dummy content inside the p tag to take a look on the webpage how it is looking .
  • By default it enters 30 words . We can enter as much as we want by just entering the number of words we want after typing lorem. ex - lorem50. Note:- We must have to give some suitable space from both side of "lorem" .

Thank you for reading and you can give suggestions to me which will surely help me in improving.