Posts

Showing posts with the label HTML

Top 5 HTML Interview Questions (Part 4)

Image
16. How to open a link in new tab or window?       Use the following code to open the link in new tab or window        <a href = "www.surajhtml.blogspot.in" target="_blank">Click Here</a> 17. What are heading tag in HTML?        There are different tags in HTML Heading.         <H1>Large Heading</H1>          <H2>Heading Two</H2>         ----         <H6>Small Heading</H6> 18. How to change the Background Color in HTML?       Just use the bgcolor in body tag      <body bgcolor="#FF00FF"> 19. Different types of HTML List?       Ordered List and Unordered List. 20. How to Add Title in HTML ?       To add Title in HTML code use the <TITLE></TITLE> Tag in between     <HEAD></HEAD> Tag       e.g. <HEAD>                       <TITLE>My  PAGE</TITLE>              </HEAD>         

Founder of HTML

Image
  Tim Berners-Lee Born: June 8, 1955 (age 59), London, United Kingdom   Awards: Marconi Prize, Charles Stark Draper Prize, MacArthur Fellowship, Mountbatten Medal, President's Medal

Difference between HTML and HTML5

Image
         HTML (1.0 to 4.0) we all know the major tags which are used in the HTML. All the tags are more useful to built a successful website. But as per the future requirement and drastic changes in the field of website design, the new version of HTML comes up i.e. HTML 5 which is the best way to make your website smooth and viewable design.               HTML 5  comes with the outstanding changes which are very very useful for the website design and also who or using HTML for there own purpose.  The following tags are added into the HTML 5: 1. Simplified syntax. 2. <canvas> element in HTML 5 3. <section> and <article> 4. <menu> and <figures> 5. <audio> and <video> 6. new <form> 7. and many more... . For Video Tutorials click Here

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