ad

Monday, January 5, 2026

how to use the html button tag

How to use the html button tag

web designing theory

Syntax 

 Syntax of HTML <dialog> tag

<button type="button"> Button text </button>

how to use the html button tag

Example

 
 
  <!DOCTYPE html>
  <html>
  <head>
      <title> HTML Button tag  </title>
 </head>
  <body>
    <h1>HTML Button Tag   </h1>
    <button type="button">Click Me</button>
  </body>
     </html>

how to use the html button tag

Explain Program

Step  1] 

<!DOCTYPE html>

Saturday, January 3, 2026

what is the HTML center tag

what is the HTML center tag

web designing theory

What is the HTML <center> tag

  1.  HTML <center> tag use horizontally center content on a web page.
  2. <center> tag such  image,tables, text.   
  3. HTML   place inside anything  information  <center> and </center>.
  4.  <center> tag display  middle of the page.
  5.  HTML <center> tag use early web development. easily center content webpage

 Syntax of HTML <center> tag

<center>.. .center text.....</center>

what is the HTML center tag

Example 

<!DOCTYPE html>
<html>
<head>
    <title> HTML Center tag  </title>
</head>
<body>
    <center>
    <h1> HTML center TAg </h1>
    <p>Your Name :</p>
    <p>Your Class: </p>
    <p> Your Address:</p>
    <p>Your ID :</p>
    </center>
</body>
</html>

what is the HTML center tag

Explain Program

Step  1] 

<!DOCTYPE html>

  • This declare the document type.
  • browser that the document is written in html

Friday, January 2, 2026

Learn CSS Selectors

Learn CSS Selectors 

web designing theory

what Are CSS Selectors.

  •  CSS is Cascading Style Sheets  selector determines which HTML  elements your style apply.
  • CSS rule consists of selector and block of declaration inside{...}  define properties.

CSS Selectors

  • css selectors  patterns use css identify and select HTML element on webpage that styles can be applied to them.
  •  CSS selector type  refers to different way can select HTML  element.
  • CSS selector has specific target elements.

Learn CSS Selectors 

Type of CSS Selector (element)

 1) Universal selector (*)

   Universal selector selects all HTML elements on the page
   (code CSS )
* {
margin: 2px;
padding: 1px;
}
 
  •  * Selector all html element.
  •  * selector use to reset default browser spacing.
  •  * seletor applies styles to the entire page.
 css code
p {
 color:blue;
}
 
  •  Element Selector all (paragraph) <p> Elements.
  •  change text color of  every paragraph to blue.
 
3) Class Selector(.)
  css code
.box {
 background-color: yellow;
}

  •  . use before class name
  •   style all elements with class box
  •   classes can be used multiple 
4) ID Selector(#)
css code
 
#title
{
 font-size:30px;
}

  •   # used before ID name
  • ID unique 
 code css
h1,h2,p
{
color:red;
}

  •  Applies same style to multiple elements
  •  Save time and  avoids repeated css
code css
input[type="email"]
{
border:2px solid green ;
}


code css
  color: orange;
}
  •    :hover activates  mouse over the link
  •     use for interaction effects
  •    example: :focus, :active, :visited
Learn CSS Selectors 

Syntax 

css
 selector
property:   value;
property:   value;

}

Learn CSS Selectors 

Explain Program