O'Reilly logo

Drupal 7 Webform Cookbook by Douglas Vernon Denny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a markup component

Apart from the descriptive text that we may enter for specific components, we will occasionally want to insert a larger body of text, perhaps with a greater degree of HTML output formatting, as explanatory text on the body of the page. The markup component allows us to do just this.

How to do it...

  1. Let's create a new component named Page 2 Header text.
  2. Select Markup as the component type and click on Add.
  3. Enter the following HTML code into the Value textarea and click on Save component:
    <h4>Page 2 of 2</h4>
    <p>Please answer the survey questions below as <i>accurately</i> as you can.</p>
    

How it works...

HTML is an example of a Standard Generalized Markup Language (SGML) based language and is concerned, primarily, with expressing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required