nerdexam
Splunk

SPLK-1004 · Question #10

Which syntax is used when referencing multiple CSS files in a view?

The correct answer is C. <dashboard stylesheet=custom.css stylesheet=userapps.css>. When referencing multiple CSS files in a Splunk dashboard view (within Simple XML), the correct approach is to include separate stylesheet attributes for each CSS file. The syntax for this would be similar to <dashboard stylesheet="custom.css" stylesheet="userapps.css"> (Option…

Advanced Search Commands and Techniques

Question

Which syntax is used when referencing multiple CSS files in a view?

Options

  • A<dashboard stylesheet="custom.css, userapps.css">
  • B<dashboard style="custom.css, userapps.css">
  • C<dashboard stylesheet=custom.css stylesheet=userapps.css>
  • D<dashboard stylesheet="custom.css | userapps.css">

How the community answered

(43 responses)
  • A
    5% (2)
  • C
    93% (40)
  • D
    2% (1)

Explanation

When referencing multiple CSS files in a Splunk dashboard view (within Simple XML), the correct approach is to include separate stylesheet attributes for each CSS file. The syntax for this would be similar to <dashboard stylesheet="custom.css" stylesheet="userapps.css"> (Option C). This method allows the dashboard to load and apply the styles from both CSS files, enhancing the dashboard's visual appearance and user interface design.

Topics

#CSS stylesheets#dashboard XML#multiple stylesheets#view configuration

Community Discussion

No community discussion yet for this question.

Full SPLK-1004 Practice