HTML Module
HTML Module
HTML
What is HTML?
HTML stands for Hyper Text Markup Language.
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML elements tell the browser how to display the content
Hypertext refers to the way in which Web pages (HTML documents) are linked together.
Thus, the link available on a webpage is called Hypertext.
As its name suggests, HTML is a Markup Language which means you use HTML to simply
"mark-up" a text document with tags that tell a Web browser how to structure it to display.
HTML is used to build a websites.
It is supported by all browsers.
It can be integrated with other languages like CSS, JavaScript etc.
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Example Explained
<Html >: This tag informs the browser that it is an HTML document. Text between html
tag describes the web document.
<Head>: It should be the first element inside the <html> element, which contains the
metadata (information about the document). It must be closed before the body tag opens.
<Title>: As its name suggested, it is used to add title of that HTML page which appears
at the top of the browser window. It must be placed inside the head tag and should close
immediately. (Optional)
<Body>: Text between body tag describes the body content of the page that is visible to
the end user. This tag contains the main content of the HTML document.
እንዳይታይ ያደርጋል)
The password is not visible to the user in password field control.
Example
<form>
<label for="password">Password: </label>
<input type="password" id="password" name="password"/> <br/>
</form>
HTML Email Field Control(ፎርማችን ትክክለኛ ኢሜል እንዲቀበል ማድረግ ስናስገባ @ መኖር አለበት)
The email field in new in HTML 5. It validates the text for correct email address. You must use
@ and . in this field.
Example
<form>
<label for="email">Email: </label>
<input type="email" id="email" name="email"/> <br/>
</form>
Radio Button Control(ከብዙ ምርጫወች ውስጥ አንድ መምረጥ ለምሳሌ፡-ጾታ ወንድ ወይም ሴት )
The radio button is used to select one option from multiple options. It is used for selection of
gender, quiz questions etc.
If you use one name for all the radio buttons, only one radio button can be selected at a time.
Using radio buttons for multiple options, you can only choose a single option at a time.
Example
<form>
<label for="gender">Gender: </label>
<input type="radio" id="gender" name="gender" value="male"/>Male
<audio controls>
<source src="koyal.mp3" type="audio/mpeg">
Your browser does not support the html audio tag.
</audio>
<audio controls>
<source src="koyal.ogg" type="audio/ogg">
Your browser does not support the html audio tag.
</audio>
mp4
webM
ogg
<video controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the html video tag.
</video>
<video controls>
<source src="movie.ogg" type="video/ogg">
Your browser does not support the html video tag.
</video>