Java Topics

Saturday, February 26, 2022

HTML 5 & CSS 3

 HTML :

✓ HTML means hypertext markup language.

✓ HTML is used to display the data in browser.

✓HTML is case insensitive language.

✓ HTML defines the structure of web page.

Note: There is no value for whitespace

ex :

         <! Doctype html>

        <html>

        <head>

        <title> Title of Webpage</title>

        </head>

        <body>

         <h1> High Importance</h1>

         <p> paragraph</p>

         </body>

         </html>

Description about above tags :

-> <!Doctype html> : Describes that HTML5 document

-> <html> : Root element of HTML page

-> <head> : Contains meta information of HTML page

-> <title> : Specifies title for an HTML page

-> <body> : Whatever we write within body tag, it will display in browser 


HTML attributes:

✓src : Defines path to the image to be displayed.

✓href: Defines URL of the page link goes to.

✓alt : Gives alternative text to the image i.e. some brief description about image in case it is not visible.

✓width, height : Gives height and width of the image.

✓style : Used to add styles to an element.

✓ lang : Defines language of the web page.

ex:

  i) <a href="https://tvstreetechnologies.blogspot.com/2022/02/html-5-css.html"> Visit Vijay blog</a>

ii)<img src="VijayBlogPost.jpg" alt="Vijay blog about techonlogies" width="500" height="500">

iii) <br> : to add line break or space

Go to below  links ,to learn complete course of HTML 5 & CSS3


Lesson1

Lesson2

Lesson3







No comments:

Post a Comment