HTML Programming

HTML Programming (Hyper Text Markup Language )

Hyper - representing the next location. 
eg: about contact etc 
Text- collection of character no. and special symbols.
   
Markup- library that contains the definition of all tag. 

HTML Points

1. Code Based Language - based on code.(c , c++, java, html etc)

2. Form Based Language - Based on tools system. (.NET , framework, netbeans etc )
3. HTML cannot use any compiler , it directly operates on web browser.
4. HTML is not a case sensitive language (capital and small both are supported)

HTML Structure

Symbol :- < > (tags)

eg. <b>, <u> 

Types Of  Tags

1. Open Tag - tag symbol is used only one time < >
2. Closed Tag - Tag symbol is used 2 times <> </>
eg. <b> </b>
    <u> </u>

HTML Syntax

<html>
<body> 

all tags

 </body>
</html>

HTML Tags

  1. <font>:-IT is used to display information
  2. <hr>:-It is used to insert horizontal line
  3. <center></center>:-It is used to give center alignment to the text.
  4. <br>:-break row 
  5. <mark>:-highlighting any information
  6. <del>:-used for remove the information
  7. <h1 to h5>:- It is used to give heading 
  8. <ol>:-order list
  9. <ul>:-unordered list

Navigation 

Process for visit between multiple pages.
There are some types of navigation used in html 
1. Page to page Navigation
2. Page to url Navigation
3. Page to document Navigation
4. Page to API Navigation

All types of navigation are used to <a> - anchor tag 
API is communication between web page to social media platform

HTML Form

  • Form is a communication between user to webpage.
  • There are various form elements available like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.
  • All forms is to be create inside <form>.

HTML Form Controls

  • There are different types of form controls 

  1. Text Input Controls
  2. Checkboxes Controls
  3. Radio Box Controls
  4. Select Box Controls
  5. File Select boxes
  6. Hidden Controls
  7. Clickable Buttons
  8. Submit and Reset Button

Text Input Controls 

There are three types of text input used on forms 
Single-line text input controls − This control is used for items that require only one line of user input, such as search boxes or names. They are created using HTML <input> tag.
Password input controls − This is also a single-line text input but it masks the character as soon as a user enters it. They are also created using HTML <input> tag.
Multi-line text input controls − This is used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created using HTML <textarea> tag.

Example of HTML Form

<html>
<body>
<form>
enter your name <input type ="textbox">
<br>
enter your password<input type="password">
<br>
mca<input type="checkbox">
<br>
be<input type="radio">
<br>
<textarea>"write your message"
</textarea>
<br>
select your city 
<br>
<select>
<option>
Nagpur
</option>

<option>
Pune
</option>
<option>
Chandrapur
</option>
<option>
Raipur
</option>
<option>
Mumbai
</option>
</select>
<br>
<input type="button" value="submit">
<br>
<button>save
</button>
<br>
</form>
</body>
</html>

Output




Comments

Popular posts from this blog

C# console applications

DATATABLES

MVC(MODEL-VIEW-CONTROLLER)