An HTML block can be added to the right-hand column in the sidebar of your course page.
It provides the standard text Editor for formatting text, adding images or creating links, and switching to HTML view, which allows any valid HTML code to be used. Audio, images, and other files can add unique elements to a course or site page.
Examples of the HTML block
Add an HTML block
- Log into the CLE (cle.ucsf.edu), and go to the course that you would like to add the HTML block.
- In the CLE course, click the Turn editing on button in the top right of the course.
Scroll down the course navigation panel and click Add a block in the bottom left of the course page. If your Navigation panel is collapsed, click the Navigation tray toggle (, top left), and the Navigation panel will expand.
Select HTML from the drop-down menu. The HTML block will appear below the other blocks in the right column, named (new HTML block).
At the right of the newly created HTML block, click the Edit icon () and select Configure (new HTML block) block. The Configuring a (new HTML block) block page will open.
In the HTML block title box, enter a Title for the block.
In the Content box, use text Editor to add formatted text, images, links or other content.Note: We do not recommend embedding video in a block as it is unlikely to fit within the width of the block. Images, however, will always resize in the text editor to fit the available space.
(Optional) In the page content editor, click the show more buttons icon.
(optional)To enter HTML code, click the HMTL icon () in the editing toolbar. The editor window will switch to a code view where can add any valid HTML code. You can click the HTML icon () again to view a preview in the Content box.
Click Save changes to return to your course page and view. The block will appear on the right-hand side of your CLE course.
Editing an HTML block
- Click on the gear icon on the right-hand side of the HTML block.
Select 'Configure (new HTML block) block'.
Use text Editor to add formatted text, images, links, or other content of the block.
- Click Save changes to return to your course page.
Move or delete a block
To move an item: Hover the mouse pointer over the four arrow icon and an alt text popup appears with the text 'Move item name'. Press and hold the mouse button, as you drag and drop the item into new location.
To delete an item: Click on the gear icon (cog icon) next to an item (block, resource or activity) and select 'Delete item name' from the action menu. A prompt will ask you to confirm that the item will be delet
Blocks are very difficult to recover. If you are not certain that you wish to delete a block permanently, use the 'Hide block name' option in the block settings menu (see below).
Hide / Show a Block
You can hide a block from the student view (it will still be visible to editors) without deleting it.
- To hide an item: Click the Edit settings icon for the block that is to be hidden, click on the Eye icon with the label Hide block name.
- To show an item: Click the Edit settings icon for the hidden block that is to be shown, and click on the Eye crossed-out icon with the label Show block name.