Skip to main content

HTML - Hyper Text Markup Language

HTML

It is a markup language means it can distinguish between its elements and content. It instructs the browser how to display web-page content.


HTML Tags

these are the keywords in HTML which defines how browser will format and display the programmer's content on the web-page.

It is of two types :-
1.One which requires closing tag
    ex: <p> content </p>
          <body> content <body>
2.One which doesn't requires a closing tag
    ex: <img>
          <meta>,etc


HTML elements 

it is the combination of 
                              <opening tag> content </closing tag>

It is of two types :-
1.Inline
   ex: <img src="abc/xyz.jpg">
2.Block
   ex: <p>hello there</p>

Comments

Popular posts from this blog

Servlet and JSP

Dynamic websites using Java Framework  Earlier most of the dynamic websites were created using java framework like Servlet JSP But these methods of creating dynamic websites are quite outdated now. Servlet It is a java framework used to create dynamic websites. There could be many servlets handling different aspects of the websites. All these servlets are hosted on a servlet container. JSP - Java Server Page It is a java framework used to create dynamic websites. It is similar to servlet but there exists some differences like Servlet has html code into java code whereas JSP has java code into html

Meta - tag

<meta> The meta tag or metadata tag is a self-closing tag which provides data about data. It provides information to browser about the web-page like language of the page author of the page last modified time, etc Important attributes :- charset content name http-equiv ex : <meta name="author" content="avas27">