html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
,

,

-

that define the overall page structure and formatting of text. It also demonstrates tags for inserting images, links, tables, lists and forms.">
0% found this document useful (0 votes)
35 views

HTML PDF

The document defines basic HTML tags for structuring and formatting web page content. It provides examples of common tags like <html>, <head>, <body>, <p>, <h1>-<h6> that define the overall page structure and formatting of text. It also demonstrates tags for inserting images, links, tables, lists and forms.

Uploaded by

babujaya851
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

HTML PDF

The document defines basic HTML tags for structuring and formatting web page content. It provides examples of common tags like <html>, <head>, <body>, <p>, <h1>-<h6> that define the overall page structure and formatting of text. It also demonstrates tags for inserting images, links, tables, lists and forms.

Uploaded by

babujaya851
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

<html>

<head>

<title> </title>

<body> </body>

<head>

</html>

<html>--------------------------------Defines an HTML document

<body>-------------------------------Defines documents body

<h1> to <h6--------------------------Defines header 1 to 6

<p>------------------------------------Defines a paragraph

<br>-----------------------------------Defines a single line break

<hr>-----------------------------------Defines a horizontal rules

<!__>----------------------------------Defines a comment

<html>

<body>

<h1 align=”center”>-----------</h1>

<p>---------------------------------</p>

</body>

</html>

1
<html>

<body bgcolor=”red” text=”yellow”>

<h1 align=”center”>-----------</h1>

</body>

</html>

<html>

<body>

<p> to break lines use <br> tag <br> in a paragraph

</p>

</body>

</html>

<html>

<body>

<!__ this comment will not be displayed>

<p>---------------------------------------------</p>

</body>

</html>

2
<html>

<body>

<p> the hr tag defines a horizontal rule: </p>

<hr>

<p> this is a paragraph -----------------------</p>

<hr>

<p>-------------------------------------------------</p>

</body>

</html>

<html>

<body background=”--------------“>

</body>

</html>

<b>-------------------------------------Bold text

<big>-----------------------------------Big text

<em>-----------------------------------Emphasized text

<i>---------------------------------------Italic text

<small>---------------------------------Small text

<strong>-------------------------------Strong text

<sub>-----------------------------------Subscripted text

<sup>-----------------------------------Superscripted text

3
<code>-----------------------------------------Code text

<kbd>-------------------------------------------Keyboard text

<samp>-----------------------------------------Sample computer code

<tt>----------------------------------------------Teletype text

<var>--------------------------------------------Variable

<pre>-------------------------------------------Pre Formatted text

<abbr>----------------------------------------------------Defines abbreviation

<acronym>----------------------------------------------Defines acronym

<address>------------------------------------------------Defines an address element

<bdo>------------------------------------------------------Text direction

<block quote>------------------------------------------Defines long quotation

<q>---------------------------------------------------------Defines short quotation

<cite>------------------------------------------------------Defines Citation

<dfn>-------------------------------------------------------Definition term

<html>

<body>

<a href=”file location“> -----------</a>

</body>

</html>

4
Entity name Number Description Result
&nbsp; &#160; non breaking space ___

&lt; &#60; less than <

&gt; &#62; greater than >

&amp; &#38; ampersand &

&quot; &#34; quotation mark “

&#39; apostrope

<html>

<body>

<p>

<a href=”location of file”>

<img border”---” src=”file name” width=”---” space=”---“>

</a>

<p>

</body>

<html>

<body>

<p>

<h1> chapter 1 </h1>

<p> hello </p>

5
<a name=”c2”> <h2> chapter 2 </h2> </a>

<h3> chapter3 </h3>

<p> hello </p>

<a href=”#c2”> click on the link to get to chapter 2 directly</a>

</body>

</html>

<html>

<body>

<a href=mailto:babujaya795@gmail.com?subject=hello”>

Send mail </a>

</body>

</html>

<frameset>----------------------------------Set of frames

<frame>--------------------------------------Defines a sub window(frame)

<no frames>---------------------------------no frame section

<iframe>-------------------------------------an inline sub window(frame)

<html>

<frameset cols=”20%,30%,50%>

<frame src=” file location”>

<frame src=”file location”>

<frame src=”file location”>

</frameset>

</html>

6
<html>

<frameset rows=”30%,30%,40%>

<frame src=”file location”>

<frame src=”file location”>

<frame src=”file location”>

</frameset>

</html>

Tag Description

<table> Defines a table

<th> defines table Header

<tr> defines table row

<td> defines table cell/ table data

<captions> defines table caption

<colgroup> defines groups of table columns

<col> defines values for one or more column

<thead> defines table head

<tbody> defines table body

<tfoot> defines table footer

7
<html>

<body>

<h1>--------------------------------</h1>

<th>--------------------------------</th>

<table border=”-----“>

<tr>

<td>----------------------</td>

<td>-----------------------</td>

</tr>

</table>

</body>

</html>

<caption>-----------------</caption>

<th colsspan=”---------------“>--------------</th>

<th rowspan=”----------------->--------------</th>

8
<html>

<body>

<ul>

<li>--------------</li>

<li>---------------</li>

</ul>

</body>

</html>

<html>

<body>

<table border=”-----“> cell padding=”----“>

<tr>

<td>-----------------</td>

<td>------------------</td>

</tr>

<tr>

<td>------------------</td>

<td>------------------</td>

</table>

</body>

</html>

9
List Tags Description

<ol> Ordered list

<ul> Unordered list

<li> List an item

<dl> Definition list

<dt> Definition term

<dd> Definition description

<ol type=”A”>-----------------Capital letters

<ol type=”a”>-----------------Lower case letters

<ol type=”I”>------------------Roman Numbers

<ol type=”i”>-----------------Lower case Roman numbers

<ul=”circle”>

<ul=”box”>

<ul=”number”>

10
<html>

<body>

<ul>

<li>-------------</li>

<li>-------------

<ul>

<li>----------------</li>

<li>----------------</li>

</ul>

</li>

</ul>

</body>

</html>

Tag Description

<form> Defines a form for user input

<input> Defines an input field

<textarea> Defines a text area

<label> Defines a label to a control

<fieldset> Defines a fieldset

<legend> Defines a caption for a fieldset

<select> Defines a selectable list

<opt group> Defines an option group

<option> Defines an option in the drop down box

<button> Defines a Push button

11
<html>

<body>

<form>

Ex;First name

<input tye=”text” name=”first name”>

<br>

Last name;

<input type=”text” name=”last name”>

</form>

</body>

</html>

<html>

<body>

<form>

Ex; male:

<input type=”radio” checked name=”sex” value=”male”>

Female:

<input type=”radio” checked name=”sex” value=”female”>

</form>

</body>

</html>

12
<html>

<body>

<form>

Ex; I have a bike:

<input type=”checkbox” name=”bike”>

<br>

I have a car:

<input type=”checkbox” name=”car”>

</form>

</body>

</html>

<html>

<body>

<form>

<select name=”ex; Graduation”>

<option value=”---“>-----

<option value=”---“>-----

<option value=”---“>------

</select>

</form>

</body>

</html>

13
<html>

<body>

<form>

Ex; Declaration:

<text area name=”-------“>

</text area>

</form>

</body>

</html>

<html>

<body>

<form>

<input type=”button” value=”ok”>

</form>

</body>

</html>

14
<html>

<body>

<fieldset>

<legend>

Ex; helth information;

</legend>

<form>

Ex; height <input type=”text”, sizw=”---“>

Weight <input type=”text”, size=”—“>

</form>

</fieldset>

</body>

<html>

<html>

<body>

<form name=”input” action=”----------” method=”get”>

------------------------------------------------

<input type=”submit” value=”submit”>

<input type=”reset” value=”reset”>

</form>

</body>

</html>

15
<html>

<head>

<body>

<link rel=”style shot” type=”text/css” href=”----------.css”>

</head>

</body>

</html>

<html>

<head>

<body.

<meta http equi=”click” content=”5; url=”-------“>

<p>

Page is moved to a new url.is <a href=”---------------"</a>

</p>

</head>

</body>

</html>

16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy