title: How can I write anchor tag in moodle form?
body: <p>I have a <strong>moodle form</strong>. Inside the <code>form</code> I have to write an <strong>anchor tag</strong>. My form looks like this:</p>
  
  <pre><code>function definition() {
      global $DB;
      $mform =&amp;$this-&gt;_form;
      $mform-&gt;addElement('editor', 'question', 'Question');
      $mform-&gt;addRule('question', null, 'required', null, 'client');
      $mform-&gt;setType('question', PARAM_RAW);
  
      //here I want an anchor tag
  
      $this-&gt;add_action_buttons(false, 'SAVE');
  }
  </code></pre>
  
  <p>I want to write an <code>anchor tag</code> between text editor and button in the form.</p>
  
  <p>I write anchor tag as </p>
  
  <pre><code>echo "&lt;a href='/path/filename.txt' download='filename.txt'&gt;filename.txt&lt;/a&gt;";
  </code></pre>
  
  <p>but this displayed in top of the page. I want this <code>anchor</code> just below the editor field.(I can put position absolute/relative, but this makes some style issue and make no responsive)</p>
  
  <p>Here I am using this <code>anchor</code> tag to download some file.</p>
  
  <p>Please help me...My <strong>moodle version is 2.9.1</strong></p>