-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (37 loc) · 2.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<DOCTYPE HTML>
<html>
<head>
<title>Lecture1 assignment</title>
</head>
<body>
<img src="https://html5readiness.com/assets/HTML5_Logo.svg" width="100px" alt="HTML5_Logo">
<h1>Introduction to html</h1>
<p>Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web.[3] Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.</p>
<h2>Some common tags</h2>
<h3>The heading tags</h3>
<p>Html contains various heading tags to make text look like headings. These are of different Types : from h1 to h6</p>
syntax: <h1> heading here </h1><br>
<p> Output </p>
<img src="http://coredogs.com/content_media/lessons/clientcore/web_page_with_text/heading-tags.png" alt="output of different headings">
<h3>Paragraph tag</h3>
<p>Thistag is used to create a paragraph</p>
syntax : <p> paragraph goes here </p><br>
<h3>Image tag</h3>
<p>The <p> tag defines an image in an HTML page.<br><br>The <p> tag has two required attributes: src and alt.</p>
syntax : <img src="smiley.gif" alt="Smiley face" height="42" width="42"><br>
<h3>Anchor tag</h3>
<p>The <a> tag defines a hyperlink, which is used to link from one page to another.<br><br>The most important attribute of the <a> element is the href attribute, which indicates the link's destination.</p>
syntax : <a> href="url of the link here">Text here<a>
<h3>html forms</h3>
<p>The <form> tag is used to create an HTML form for user input.<br><br>The <form> element can contain one or more of the following form elements:</p>
<ul>
<li><input>
<li><textarea>
<li><button>
<li><select>
<li><option>
<li><optgroup>
<li><fieldset>
<li><label>
</body>
</html>