Posts

HTML WORKING

  HTML Working You must have heard of frontend and backend. Frontend refers to the visible part of a website or app that users interact with, like the tables, images, and buttons.  It's built using languages like HTML, CSS, and JavaScript.  How do websites work? When we want to access any information on the internet, we search for it using a web browser.  The web browser retrieves the content from web servers, where it is stored in the form of HTML documents. An HTML document is created by writing code with specific tags in a code editor of your choice.  The document is then saved with the  '.html'  extension. Once saved, the browser interprets the HTML document, reads it, and renders the web page. What is a Web Browser? A web browser is a program that understands HTML tags and renders them in a human-readable format that is easily viewable by people visiting the website.  Developers write code in HTML because it's a straightforward way to instruc...

HTML PAGE STRUCTURE

Image
HTML Page Structure An HTML document is structured using a set of nested tags. Each tag is enclosed within  <…>  angle brackets and acts as a container for content or other HTML tags. Let's take a look at a basic HTML document structure: <! DOCTYPE html > < html > < head > < title > Document </ title > </ head > < body > <!-- content --> </ body > </ html > Copy DOCTYPE Declaration <! DOCTYPE html > Copy The  <!DOCTYPE html>  declaration informs the web browser about the HTML version being used. The latest version is HTML5. But if this changes in the future (maybe 10 years down the line), the doctype declaration will be helpful! HTML Root Element < html > Copy The  <html>  tag is the root element that encapsulates all the content on the page. </ html > Copy The  </html>  tag marks the end of the  <html>  section. H...