How a Web Browser Processes an HTML File

Author Topic: How a Web Browser Processes an HTML File  (Read 852 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
How a Web Browser Processes an HTML File
« on: 12-17-2015, 22:53:59 »
When a user points his or her web browser to an HTML fi le stored on a web server, a sequence of events occurs that is approximately as follows. The web server passes the contents of the fi le as a stream of characters to the web browser. As long as a sequence of consecutive characters received does not form an HTML tag such as <b>, </b> or <p>, the browser replaces any consecutive combination of newline characters, tabs and spaces by a single space and outputs the resulting text to the user's screen. If a number of consecutive characters received forms a tag, the action taken by the browser depends on which tag it is. If a <p> tag is received the browser outputs two newline characters to take the screen output to a new paragraph. If a <br> tag is received a single newline character is output. If a <b> (i.e. a 'start bold') tag is received the browser outputs all further characters in bold type until the next </b> ('end bold') tag is reached, etc.


Related Topics

  Subject / Started by Replies Last post
30 Replies
Last post 05-19-2012, 03:41:35
by chadha
0 Replies
Last post 10-27-2012, 11:29:03
by rgtravels01
2 Replies
Last post 11-24-2013, 18:14:09
by CMRaper
2 Replies
Last post 02-17-2015, 09:04:12
by xerbotdev
0 Replies
Last post 12-17-2015, 22:56:39
by chinmay.sahoo