Skip to main content

Bold, Italic, Underline TUTE 3

                                                   Bold, Italic, Underline



Bold Text

To bold text, use the <strong> or <b> tags:

<strong>Bold Text Here</strong>
or

<b>Bold Text Here</b>

Italic Text
To italicize text, use the <em> or <i> tags:

<em>Italicized Text Here</em>
or
<i>Italicized Text Here</i>

Underlined Text

<p>This paragraph contains some <u>mispelled</u> text.</p>

 Inserted, Deleted, or Stricken

To mark text as inserted, use the <ins> tag:

<ins>New Text</ins>

To mark text as deleted, use the <del> tag:

<del>Deleted Text</del>

To strike through text, use the <s> tag:

<s>Struck-through text here</s> 

 Link to another site

This is the basic use of the <a> (anchor element) element:

<a href="http://example.com/">Link to example.com</a>

<a href="http://example.com/" rel="external">example site</a>

You can link to a site that uses a protocol other than HTTP. For example, to link to an FTP site, you can do,
<a href="ftp://example.com/">This could be a link to a FTP site</a

 Link to an anchor
Anchors can be used to jump to specific tags on an HTML page. The <a> tag can point to any element that has an id attribute.
<h2>First topic</h2>
 <p>Content about the first topic</p>
 <h2>Second topic</h2> 
<p>Content about the second topic</p>

<h2 id="Topic1">First topic</h2> <p>Content about the first topic</p> <h2 id="Topic2">Second topic</h2> <p>Content about the second topic</p>
Now you can use the anchor in your table of contents:
<h1>Table of Contents</h1>    <a href='#Topic1'>Click to jump to the First Topic</a>    <a href='#Topic2'>Click to jump to the Second Topic</a>
These anchors are also attached to the web page they're on (page1.html). So you can link across the site from one page to the other by referencing the page and anchor name.
 Remember, you can always <a href="page1.html#Topic1">look back in the First Topic</a> for supporting information

Comments

Popular posts from this blog

short key of c programming

short key of c programming Shortcut Keys(Hot Keys)     Operation    Alt + F  -            Open file Alt + F3 -           Close Alt + F + N  -    New file Alt + X  -           Exit turbo c Alt + F5 -          Output Screen Alt + F + L  -    Check programme load or not. Alt + ENTER  - Full screen Shift + Del -       Cut Shift + Insert -   Paste Ctr + Insert -    Copy Alt+F9 -           Compile a program Ctr + F8           Bbreak point Ctrl+F9 -          To run a program Ctrl+s -...

Unordered List, Nested lists, Description List,TUTE-8

                                                             Unordered List An unordered list can be created with the <ul> tag and each list item can be created with the <li> tag as shown by the example below: <ul>   <li>Item</li>   <li>Another Item</li>   <li>Yet Another Item</li>  </ul> This will produce a bulleted list (which is the default style): You should use ul to display a list of items, where the order of the items is not important. If changing the order of the items makes the list incorrect, you should use <ol>.   Nested lists You can nest lists to represent sub-items of a list item. <ul>   <li>item 1</li>   <li>item 2     <ul>    ...