While editing a step on Cogniterra, you can go to HTML editor (button "Source").
It is allowed to use the following tags and their attributes:
tag | attributes | tag | attributes | tag | attributes |
---|---|---|---|---|---|
<a> | href, title, rel, target | <div> | <li> | ||
<abbr> | title | <em> | <ol> | ||
<acronym> | title | <h1> | <p> | ||
<audio> | src, controls | <h2> | <pre> | ||
<b> | <h3> | <span> | |||
<blockquote> | <i> | <strike> | |||
<br> | <iframe> | src, width, height, sandbox, scrolling | <strong> | ||
<code> | <img> | src, alt, title, width, height | <ul> |
You can embed tables from other sites in HTML editor using <iframe> tag.
Adding YouTube video
You can embed data to steps via iframe from other resources using the HTML-editor. For example, a video from YouTube. To get HTML-code, click Share button below YouTube video:
Please note that Cogniterra uses secure HTTPS protocol, and you will not be able to insert videos from sites using HTTP via iframe.
Adding audio files
You can add an audio file to a text step or to a practical step condition using the HTML-editor.
To do this, follow these steps:
- add an audio file to Attachments section of the course (or Files section of the lesson);
- go to HTML-editor;
- add: <audio controls=“controls” src=“link_to_audio_file“>Your browser does not support the audio element</audio>;
- copy the link to the audio file from Attachments or Files section and replace “link_to_audio_file“ with it;
- Save the step and check the display and playback of the audio file.