Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: HTML editor.

HTML editor: Difference between revisions

From MoodleDocs
No edit summary
Line 8: Line 8:




==HTML editor toolbar==
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
[[Image:Course Lesson Page Content Toolbar.GIF|frame|center|HTML editor toolbar in a Lesson page]]


<html><head><title>Kamloops Centre for Therapy - Calendar: Mar</title></head><body onload='window.focus();'>
strict.dtd">


<center><H2><font size="2" face="Verdana">March 2008
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
</font></H2></center><TABLE width="100%" border=1 bordercolordark="#000000" bordercolorlight="#FFFFFF" cellpadding="5">
<head>
<TBODY><TR><TH vAlign=center align=middle width="14%" bgcolor="#000000"><font size="1" color="#FFFFFF" face="Verdana">
 
Sunday</font></TH><TH vAlign=center align=middle width="14%" bgcolor="#000000"><font size="1" color="#FFFFFF" face="Verdana">
<title>Kamloops Centre for Therapy - Services</title>
Monday</font></TH><TH vAlign=center align=middle width="14%" bgcolor=#000000><font size="1" color="#FFFFFF" face="Verdana">
 
Tuesday</font></TH><TH vAlign=center align=middle width="14%" bgcolor="#000000"><font size="1" color="#FFFFFF" face="Verdana">
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
Wednesday</font></TH><TH vAlign=center align=middle width="14%" bgcolor=#000000><font size="1" color="#FFFFFF" face="Verdana">
<link rel="stylesheet" type="text/css" href="style.css" />
Thursday</font></TH><TH vAlign=center align=middle width="14%" bgcolor="#000000"><font size="1" color="#FFFFFF" face="Verdana">
<style type="text/css">
Friday</font></TH><TH vAlign=center align=middle width="14%" bgcolor="#000000"><font size="1" color="#FFFFFF" face="Verdana">
 
Saturday</font></TH></TR><TR>
body { background-image: url("/images/inner_02.jpg"); background-attachment: fixed }
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
</style>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
<!--------------------------End Of CSS Style Definitions ---------------------------->
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
</head>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">1</font><br><br><br><br></TD>
<div align="left">
</tr><tr>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">2</font><br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">3</font><br><br><br><br></TD>
<div align="center"><img src="/images/logo.gif" width="300" height="60" alt="Kamloops Centre for Therapy">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">4</font><br><br><br><br></TD>
</div>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">5</font><br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">6</font><br><br><br><br></TD>
<DIV align="left">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">7</font><br><br><br><br></TD>
<ul id="nav">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">8</font><br><br><br><br></TD>
<li><a href="http://kamloopscentrefortherapy.com" title="Home">Home</a></li>
</tr><tr>
<li><a href="services.html" title="Services">Services</a></li>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">9</font><br>Daylight Saving Time<br><br></TD>
<li><a href="#" onclick="javascript: window.open
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">10</font><br><br><br><br></TD>
('http://www.websitetoolbox.com/guestbook/kamloopscentrefortherapy', '',
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">11</font><br><br><br><br></TD>
'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=820,height=590');
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">12</font><br><br><br><br></TD>
return false"   id="menu437" title="Kamloops Centre for Therapy -
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">13</font><br><br><br><br></TD>
Guestbook"><span>Guestbook</span></a></li>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">14</font><br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">15</font><br>The Ides of March<br><br></TD>
<li><a href="contact.html" title="Contact">Contact</a></li>
</tr><tr>
</ul>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">16</font><br><br>Palm Sunday<br><br></TD>
<ul id="subnav">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">17</font><br>St. Patrick's Day<br><br></TD>
  <li id="subnavfirst"><a href="events.html" title="Events">Events</a></li>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">18</font><br><br><br><br></TD>
<li><a href="#" onclick="javascript: window.open('login.html', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=900,height=590'); return false"  id="menu437" title="Kamloops Centre for Therapy - Login"><span>Login</span></a></li>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">19</font><br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">20</font><br>Spring begins (EDT) ‡<br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">21</font><br><br>Good Friday<br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">22</font><br><br><br><br></TD>
  <li><a href="editnews.htm" title="Edit News">Edit News</a></li>
</tr><tr>
</ul>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">23</font><br><br>Easter Sunday<br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">24</font><br><br><br><br></TD>
<div id="colone">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">25</font><br><br><br><br></TD>
<h2>Featured <span>Design</span></h2>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">26</font><br><br><br><br></TD>
<div class="featureimg"><img src="/images/feature_1.gif" width="" height="84" alt="Featured image" /></div>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">27</font><br><br><br><br></TD>
<ul class="featurelist">
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">28</font><br><br><br><br></TD>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">29</font><br><br><br><br></TD>
<li><em>Owner:</em> John Doe</li>
</tr><tr>
 
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">30</font><br><br><br><br></TD>
<li><em>Company:</em> Nanobytedesign</li>
<TD vAlign=top align=left width="14%" ><font size="1" face="Verdana">31</font><br><br><br><br></TD>
<li><em>Finished:</em> January 1st, 2006</li>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br></TD>
<li><em>Description:</em> A website for a design firm that is based in Houston, TX. This design firm had no time to make their own website so we did it for them.</li>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br></TD>
 
<TD vAlign=top align=left width="14%" >&nbsp;<br><br></TD>
</ul>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br></TD>
</div>
<TD vAlign=top align=left width="14%" >&nbsp;<br><br></TD>
 
</TR></TBODY></TABLE>
<div id="coltwo">
<div align="center">
<h2>Most <span>Recent</span> Client</h2>
<p> &nbsp &nbsp| &nbsp &nbsp<a href="JAN.html">January</a> | <a href="FEB.html">Febraury</a> | <a href="MAR.html">March</a> | <a href="APR.html">April</a> | <a href="MAY.html">May</a> | <a href="JUNE.html">June</a> | <a href="JULY.html">July</a> | <a href="AUG.html">August</a> | <a href="SEPT.html">September</a> | <a href="OCT.html">October</a> | <a href="NOV.html">November</a> | <a href="DEC.html">December</a> &nbsp &nbsp | &nbsp &nbsp </p></div>
<div class="featureimg"><img src="/images/feature_2.gif" width="192" height="84" alt="Featured image" /></div>
</head></html>
<ul class="featurelist">
<li><em>Owner:</em> Dave Bledsoe</li>
<li><em>Company:</em> SleekNetwork</li>
 
<li><em>Finished:</em> January 1st, 2006</li>
<li><em>Description:</em> A website for a network of websites with different opportunities including an arcade website, myspace goodies, and much more.</li>
</ul>
</div>
 
<div id="colthree">
<h2>Newest <span>Website</span></h2>
 
<div class="featureimg"><img src="/images/feature_3.gif" width="192" height="84" alt="Featured image" /></div>
<ul class="featurelist">
<li><em>Owner:</em> Joe Blow</li>
<li><em>Company:</em> Marketing World</li>
<li><em>Finished:</em> January 1st, 2006</li>
 
<li><em>Description:</em> A website for Marketing World which is a company that is used for a software development firm.</li>
</ul>
</div>
 
<h2 class="heading"><font color=#000000 >Newest <span>News</span></font></h2>
<h3 class="heading"><BODY BACKGROUND ="images/bg_lines4.gif"><li><Font color=#000001>This Site</font></li></h3>
 
<Font color=#000009 >
<h4 class="heading">About</h4>
</font>
<Font size = “9” color=#000000 >
<p>Welcome to Kamloops Centre for Therapy. Our site is still under construction. You may click on
 
the links above to view them. If a broken link, please contact us at
 
http://kamloopscentrefortherapy.com/contact.html .</font></p>
</font>
 
<Font color=#000009 >
<h4 class="heading">When is it going to be done?</h4>
</font>
 
<Font size = “9” color=#000000 >
<p>We are currently working hard at this website. Please keep checking back; if you would like
 
updates, just contact us with the subject "Updates" . Make sure you provide you name and
 
email.</font><br />
<br />
</font>
 
<div id="foot">
<BODY BACKGROUND ="/images/bg_lines4.gif">
  <p>Copyright © 2008 - All Rights Reserved<br /><a href="http://www.kamloopscentrefortherapy.com"  
 
title="Kamloops Centre for Therapy"><strong>Kamloops Centre for Therapy</strong></a></p>
 
</div>
 
</body>
 
</html><!-- Register4less.com -->


==Inserting images==
==Inserting images==

Revision as of 22:24, 23 March 2008

The Richtext HTML editor provides a word-processor interface embedded in your web page to allow you to edit text in an intuitive way, and produces normal HTML code.

In addition to formatting text, this editor provides a number of extra features you may find useful.

When you choose many functions a new small window will open. Unfortunately it can often open BEHIND the window you are in so you may miss that anything has happened. You can check new windows with [Alt]+[Tab].

Note: The HTML editor does not work in all browsers. If you are using a Mac OS X and for some reason it does not appear, try using Firefox instead of Safari as a browser.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-

strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>

<title>Kamloops Centre for Therapy - Services</title>

<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> <style type="text/css">

body { background-image: url("/images/inner_02.jpg"); background-attachment: fixed }

</style>

</head>


<img src="/images/logo.gif" width="300" height="60" alt="Kamloops Centre for Therapy">

Featured Design

<img src="/images/feature_1.gif" width="" height="84" alt="Featured image" />
  • Owner: John Doe
  • Company: Nanobytedesign
  • Finished: January 1st, 2006
  • Description: A website for a design firm that is based in Houston, TX. This design firm had no time to make their own website so we did it for them.

Most Recent Client

<img src="/images/feature_2.gif" width="192" height="84" alt="Featured image" />
  • Owner: Dave Bledsoe
  • Company: SleekNetwork
  • Finished: January 1st, 2006
  • Description: A website for a network of websites with different opportunities including an arcade website, myspace goodies, and much more.

Newest Website

<img src="/images/feature_3.gif" width="192" height="84" alt="Featured image" />
  • Owner: Joe Blow
  • Company: Marketing World
  • Finished: January 1st, 2006
  • Description: A website for Marketing World which is a company that is used for a software development firm.

Newest News

<BODY BACKGROUND ="images/bg_lines4.gif">
  • This Site
  • About

    Welcome to Kamloops Centre for Therapy. Our site is still under construction. You may click on the links above to view them. If a broken link, please contact us at http://kamloopscentrefortherapy.com/contact.html .

    When is it going to be done?

    We are currently working hard at this website. Please keep checking back; if you would like updates, just contact us with the subject "Updates" . Make sure you provide you name and email.

    </body>

    </html>

    Inserting images

    If you have images that are already published on a web site and accessible via a URL, you can include these images in your texts using the "Insert Image" button. Moodle recongizes JPG, GIF and PNG as image files.

    Inserting tables

    • To add layout to your texts, you can use the "Insert Tables" button in the toolbar.
    • Most table editing tools are only visible if you click the Enlarge Editor button.

    Inserting links

    To make a new link,

    • type the text that you want to be a link
    • select the text
    • click the link button in the toolbar
    • Type (or paste, or browse to) the URL you want to link to
    • Click OK

    NOTE: This process does NOT work inside the wiki module where you need to use the Wiki link system (square brackets containing the label and the link seperated by a vertical line character)

    Inserting smilies (emoticons)

    To embed these small icons in your text, click on the smiley icon in the toolbar. A dialog will pop up that allows you to select from the following smiley icons. (Alternatively, you can just type the corresponding code straight into your text and it will be converted later when your text is displayed).

    Shortcut keys

    Keys Action
    Ctrl-C Copy
    Ctrl-V Paste
    Ctrl-X Cut
    Ctrl-O Change the font
    Ctrl-P Change the font size
    Ctrl-H Change text format (headings etc.)
    Ctrl-1 to Ctrl-6 Change heading level
    Ctrl-= Change text language for screen readers, or specify language for the Multilang filter
    Ctrl-B Make text bold
    Ctrl-I Make text italic
    Ctrl-U Underline text
    Ctrl-S Strikethrough text
    Ctrl-, Subscript
    Ctrl-. Superscript
    Ctrl-0 Clean Word HTML
    Ctrl-Z Undo
    Ctrl-Y Redo
    Ctrl-L Justify left
    Ctrl-E Center
    Ctrl-J Justify full
    Ctrl-/ Text runs left to right
    Ctrl-| Text runs right to left
    Ctrl-; Decrease indent
    Ctrl-' Increase indent
    Ctrl-G Change text colour
    Ctrl-K Change background colour
    Ctrl-F Search and replace
    Ctrl-` Switch to HTML source code view
    Ctrl-M Toggle fullscreen editor mode
    Ctrl-Alt-O Insert ordered list
    Ctrl-Alt-U Insert unordered list
    Ctrl-Alt-R Insert horizontal rule
    Ctrl-Alt-A Create anchor
    Ctrl-Alt-L Create link
    Ctrl-Alt-D Unlink
    Ctrl-Alt-N Turn off autolinking
    Ctrl-Alt-I Insert image
    Ctrl-Alt-T Insert table
    Ctrl-Alt-S Insert emoticon
    Ctrl-Alt-C Insert special character

    Code editing

    The [<>] button changes the display window to raw HTML code. This can be useful for those of you that know how to use it (or want to learn!). Most of the buttons do not work there, not even the Search and Replace unfortunately.

    See also