HTML
Hyper text mark up language (HTML) course for Beginners .This all are basic things.If you know all this basic things ,you will be able to create web page.
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Small text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text
<address> Defines contact information for the author/owner of a document
<bdo> Defines the text direction
<blockquote> Defines a section that is quoted from another source
<cite> Defines the title of a work
<q> Defines a short inline quotation
EXAMPLE........
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1> in this heading you can change header line like <h(1,2,3,4,5,6)> h1 is large h6 is small front.
<a href="https://www.facebook.com">This is a link</a>
<img src="my name is khan.jpg" alt="my name is khan" width="104" height="142">
<p title="I'm a tooltip">This is a paragraph</p>
<p>This is a paragraph.</p>
<u> this use for underline </u>
<i> this use for italic from </i>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
<p>WWF's my life is like that: <q>I am Programmer,I have no life.</q></p>
<blockquote cite="https://www.cs.washington.edu/students/ugrad/student_advice">What's the best part of being a CSE major, and what can you do to succeeed in the toughest classes? </blockquote>
<address>
Written by Dipu<br>
Visit us at:<br>
Example.com<br>
Box 564, Delhi<br>
india
</address>
<bdo dir="rtl">This text will be written from right to left</bdo>
</body>
</html>
Output of the example--
Hyper text mark up language (HTML) course for Beginners .This all are basic things.If you know all this basic things ,you will be able to create web page.
- In Html It has a start tag <x> and an end tag </x>.
- The <!DOCTYPE html> declaration defines this document to be HTML5
- The <html> element is the root element of an HTML page
- The <head> element contains meta information about the document
- The <title> element specifies a title for the document
- The <body> element contains the visible page content
- The <h1> element defines a large heading
- The <p> element defines a paragraph
- HTML links are defined with the <a> tag.The link's destination is specified in the href attribute.
- HTML images are defined with the <img> tag. In this case you should be remember that In this img src The source file (src), alternative text (alt), width, and height are provided as attributes.
- Here, a title attribute is added to the <p> element. The value of the title attribute will be displayed as a tooltip when you mouse over the paragraph.
- HTML uses elements like <b> and <i> for formatting output, like bold or italic text.Formatting elements were designed to display special types of text:
<strong> - Important text
<i> - Italic text
<em> - Emphasized text
<mark> - Marked text
<small> - Small text
<del> - Deleted text
<ins> - Inserted text
<sub> - Subscript text
<sup> - Superscript text
- The HTML <blockquote> element defines a section that is quoted from another source.Browsers usually indent <blockquote> elements.
- The HTML <address> element defines contact information (author/owner) of a document or an article.The <address> element is usually displayed in italic. Most browsers will add a line break before and after the element.
- The HTML <bdo> element defines bi-directional override.The <bdo> element is used to override the current text direction
<address> Defines contact information for the author/owner of a document
<bdo> Defines the text direction
<blockquote> Defines a section that is quoted from another source
<cite> Defines the title of a work
<q> Defines a short inline quotation
EXAMPLE........
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1> in this heading you can change header line like <h(1,2,3,4,5,6)> h1 is large h6 is small front.
<a href="https://www.facebook.com">This is a link</a>
<img src="my name is khan.jpg" alt="my name is khan" width="104" height="142">
<p title="I'm a tooltip">This is a paragraph</p>
<p>This is a paragraph.</p>
<u> this use for underline </u>
<i> this use for italic from </i>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
<p>WWF's my life is like that: <q>I am Programmer,I have no life.</q></p>
<blockquote cite="https://www.cs.washington.edu/students/ugrad/student_advice">What's the best part of being a CSE major, and what can you do to succeeed in the toughest classes? </blockquote>
<address>
Written by Dipu<br>
Visit us at:<br>
Example.com<br>
Box 564, Delhi<br>
india
</address>
<bdo dir="rtl">This text will be written from right to left</bdo>
</body>
</html>
Output of the example--
0 comments:
Post a Comment