HTML Basic Tags | HTML Definition | HTML Elements - Digital Tasks


In this blog, I show you how to make HTML websites like digital Tasks. This website only codes HTML and CSS, and JavaScript. now you are Learning how to create an HTML website show first step is what is HTML? & how to work HTML code? And Etc.


Learn Step by Step:


What is HTML & HTML5?

HTML (HyperText Markup Language) is a standard markup language used to create web pages. It is the foundation of the World Wide Web, and is used to describe the structure of web pages in terms of elements such as headings, paragraphs, lists, links, and more. HTML is written in the form of tags, which are surrounded by angle brackets and placed within the text of a document. These tags tell the browser how to display the content of the page.

Here is an example of a simple HTML page:

<!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h1>Welcome to my page</h1> <p>This is a simple page created with HTML.</p> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> </body> </html>

HTML and HTML5 is the best platform for coding in web development. html is old version and HTML5 is the New version only <!DOCTYPE html> this syntax used HTML5. html 5 defined the browser this code is html5 versions


HTML Basic Code | HTML Elements



HTML5 Basic Code | HTML5 Elements



Now,



What is an HTML tag? ------------------


HTML Definition is Hyper-Text Markup Language this language uses website development and other functions used.

 
What is a head tag? ------------------

<head></head>

The Head tag Contains the metadata. 

It Should be the First Element Inside the <html> element.

 It must be Closed before the body tag opens.

Head tag is used External & Internal Links Section in HTML.


What is a title tag? ------------------

<title> </title>

The title tag is the defined Web - Pages For Ex. digital tasks top new tap like (Best Content Provider Company in Mumbai this the Title).



What is a Style tag? ---------------

<style></style>

HTML<style> tag is used to define an Element Style Information.

We also call style Element as the mini CSS of the HTML Document. Because this Element lets you define the inline CSS of a web page.


Attributes: ---------------------

1) Media

2) Type


Media: ---------------------

The media attribute specifies what media/device the linked document is Optimization for.

This attribute is used to specify that the target URL is Designed for the special device (like Screen, Tv, Mobile, iPhone), Speed, or print media.

Type: ---------------------

The type attribute specifies the internet media type (formerly known as MIME type) of the <style> Tag.



What is a Body tag? ---------------------

The <body> tag defines the Document body.

The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.

<body> tag must come after <head> tag.

<body> tag can be only one in html document.


Attributes: ---------------------


1) bg-color :---------------------

Designates the background color on a page.

ex.



2) Background :---------------------

Designates the background image on a page.

ex.


3) Text :---------------------

Designates the color of text on a page.

ex.




4) Link :---------------------

Designates the color of a link that has not yet been clicked.

ex.





4) V-link :---------------------

Designates the color of visited links.

ex.




4) A-link :---------------------

Designates the color of a link turns when it is selected.

ex.




CLICK HERE GO TO ADVANCE HTML FREE 



HTML Basic Tags | HTML Definition | HTML Elements - Digital Tasks



Post a Comment

0 Comments