Wednesday, November 1, 2023

Html anchor tag

  How to Add HTML  Anchor Tag 


anchor tag html

 

Anchor Tag 

The <a> tag define hyperlink 

 1]  Html anchor tag defines a hyperlink this  used to link from one           page to another.

 2]  Its create hyperlink to other web page as well as files, location 

 3]  Most important attribute of the<a> element is the href attribute.

 4]  when link is clicked it redirects the user to that page.

 5]  The <a> tag creates a clickable link.

 6] The href attribute sets the target page or site 

example:- https://webdesigningtheory.blogspot.com/?m=1

7] The target attribute specifies in what tab ,window to open the new       page.

 8]  Its href  <a>  attribute  creates a hyperlink to web page, files                 email addresses ,locations in the same page else URL address.

 9]    hyperlink its important to the website ,web page  ,or part of the          same web page to link to.

10]  In addition to the href attribute website linking to open in                  another browser tab. you just need to set  the value of the target          attribute  to blank.

 11]  <a> hyperlink is the Global attribute / event attribute =supports 

       which indicates the links destination.

default link :

 unvisited link -blue
 visited link-purple
 active  link- red


Q. What is the Anchor Tag  in html?

An anchor is a piece of text which marks the beginning and/or the end of a hypertext link. The text between the opening tag and the closing tag is either the start or destination specifies where to open the linked document.


Syntax

<a href="https://webdesigningtheory.blogspot.com
/?m=1">webdesigningtheory.blogspot</a>


 Example

<!DOCTYPE html>
<html>
<head>
   
    <title>Document</title>
</head>
<body>
<h2>visit the link</h2>
   <ul>
    <li><a
href="https://webdesigningtheory.blogspot.com
/?m=1">Website 1</a></li>
<li><a href=
"https://webdesigningtheory.blogspot.com/?m=1">
Website 2</a></li>
    <li><a href=
"https://webdesigningtheory.blogspot.com/?m=1">
Website 3</a></li>
   </ul>  
</body>  
</body>
</html>




Output :-
<a> hyperlink output


Visit the link

html-comments tag

script element html

html list tag

how to add background image in html

html anchor tag

creating-simple-customer-log form

contact-from.html

Tuesday, October 31, 2023

HTML paragraph tag

   HTML paragraph Tag 




paragraph tag html


Patagraph  Tag




Use the paragraph tag 

 

 1]  The <p> tag defines a paragraph tag.

 2]   Browsers automatically add a single blank line before and after each <p> element.
         it defines a paragraph of text.

 3]  The paragraph tag end of the paragraph is marked by opening  <p>  a closing </p>  tag 

 4]  <p> tag is a block element used to designate  a paragraph. useful the internet browsers          adda bit of margin before and after element.
 
 5]  The paragraph tag is align (left, right, center, justify)   with specific text alignment                 within a paragraph

 6]   <p> tag is used to define block level element that creates a new block of text.



Syntax


<P>.......... information type  here https://webdesigningtheory.blogspot.com/?m=1 .....</p>



PROGRAM  Name :HTML  paragraph tag


                 Example 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>
  p tag defines a paragraph browsers
automatically add  a single blank
line befor and after each
https://webdesigningtheory.blogspot.com/?m=1
    </p>
</body>
</html>  




visit the link

HTML LOGIN FORM

HTML COMMENTS TAG

Monday, October 30, 2023

how to add comments tag in html


 How To Add Comment In Html

  

html comments tag

Comment Tag

 Importance of HTML  Comment tag 


       1]   comment tag are some extra information  or code written in your code give extra explanation about the code and not visible to the user. 

       2]   comment tag are not displayed in the any browsers. comment tag use to the                                   programmer.

       3]    programmer you can use comments  tag to explain your code, help you code is edit                and change  the source code .comment of any code easy to understand in the                      programmer.

        4]    comment tag use to notes to remind yourself the build  process. you could                               explain the intended functionality of a section of code for another  Multiple                          developer  or your future self ensures quick and efficient understanding  of                              complex codes.

Syntax:-

 
<!-- 

   tag before the code and a after the code

 -->
  

 

Type of  HTML comments tag :-


1]  single line comments in HTML
2]  Multi-Line Comments in HTML



1]  single line comments in HTML :-


  HTML code also comments single lines at a time. in single line comment can use 
  one line description /information about the code .


Syntax

     
       <!--  There is some text  related to your program  -->

      
<h1>heading name program</h1>  
    <!-- <h2> topic name Webdesigningtheory.blogspot.com</h2>-->
               


2]  Multi-Line Comments in HTML

           The HTML code we can also comments multiple lines at a time code write in the program. multiline comment use any description multiple line code to debug etc.
   
       Syntax :- 

          <!--
              your code is comment
              write information
              in your project code
             Webdesigningtheory.blogspot.com
                -->

   
 <h2>command to html</h2>  
    <!-- <h2>extra  Information to related topic
project name
information
home page, contact use,create
website Webdesigningtheory.blogspot.com -->
               



visit the link