Posts

Showing posts with the label What is HTML

Top 5 HTML Interview Questions.(Part 1)

Image
1. What is HTML? HTML stands for Hypertext Markup Language. It Is a markup language for world wide web. HTML was developed by Tim Berners Lee during 1990’s. It consists of tags which are used to define content and web page formatting.     2. What is DOCTYPE? DOCTYPE stands for Document Type Declarations. DOCTYPE is USED to specify the web browsers that which types of documents (such as SGML or XML Documents) it will receive. <! DOCTYPE> is declared above the <html> tag.     3. What are the different version of HTML? HTML has many versions since it inceptions during 1990’a. HTML version are HTML, HTML+, HTML2.0, HTML 3.2, HTML 4.0 and HTML5.     4. What are HTML Tags? HTML tags similar to keywords which has specifies function, for example, for paragraph we can use HTML tag <p>. HTML tags mostly comes in pair like <p></p>.     5. What is Element? An HTML element is

What is an HTML File?

Image
HTML stands for H yper T ext M arkup L anguage An HTML file is a text file containing small markup tags The markup tags tell the Web browser how to display the page An HTML file must have an htm or html file extension An HTML file can be created using a simple text editor  Example:- <html> <head> <title>Title of page</title> </head> <body> This is my first homepage. <b>This text is bold</b> </body> </html> Example Explained The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document. The last tag in your document is </html>. This tag tells your browser that this is the end of the HTML document. The text between the <head> tag and the </head> tag is header information. Header information is not displayed in the browser window. The text between the <title> tags is the title of your docume