Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Label.

Label: Difference between revisions

From MoodleDocs
No edit summary
Line 14: Line 14:
<br style="clear:both;">
<br style="clear:both;">


== Use a label to diaplay an external web page within a label ==
== Use a label to display an external web page within a label ==


An exciting possibility for labels allows external or internal pages to be displayed in the middle of the moodle screen (instead of just puttin a link to them.  Information like a page of links (so that you aren't restricted to moodle's one link per line etc; search engines; other moodle pages etc etc
An exciting possibility for labels allows external or internal pages to be displayed in the middle of the moodle screen (instead of just puttin a link to them.  Information like a page of links (so that you aren't restricted to moodle's one link per line etc; search engines; other moodle pages etc etc
Line 21: Line 21:
Add iFrame to list of allowed HTML commands by accessing moodle code directly  
Add iFrame to list of allowed HTML commands by accessing moodle code directly  
Then:
Then:
1. Create a label
* Create a label
2. Display raw HTML code (use the editor button <>
* Display raw HTML code (use the editor button <>
3. Insert code like:
* Insert code like:   <iframe width="100%" height="200" align="middle" src="http://www.google.com" border="0"></iframe>
<iframe width="100%" height="200" align="middle" src="http://www.google.com" border="0"></iframe>


==See also==
==See also==

Revision as of 00:08, 6 April 2006


When you are adding or editing a label, you have to fill in the following fields:

Label text

Visible to students - You can hide the resource from students by selecting "Hide" here. It is useful if you wouldn't like to make the activity available immediately.

choose Insert a label from the resource menu


add text, links and/or images


view label


Use a label to display an external web page within a label

An exciting possibility for labels allows external or internal pages to be displayed in the middle of the moodle screen (instead of just puttin a link to them. Information like a page of links (so that you aren't restricted to moodle's one link per line etc; search engines; other moodle pages etc etc

How: Add iFrame to list of allowed HTML commands by accessing moodle code directly Then:

  • Create a label
  • Display raw HTML code (use the editor button <>
  • Insert code like: <iframe width="100%" height="200" align="middle" src="http://www.google.com" border="0"></iframe>

See also