question-answer-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(revert spam)
 
(7 intermediate revisions by 3 users not shown)
Line 7: Line 7:


==Contributors==
==Contributors==
[[User:AndyMabbett|Andy Mabbett]]
[[User:AndyMabbett|Andy Mabbett]],[[User:TaylorCowan|Taylor Cowan]]


==General==
==General==
Line 18: Line 18:
*http://www.gnu.org/licenses/gpl-faq.html
*http://www.gnu.org/licenses/gpl-faq.html
** uses definition lists, dl/dt/dd tags
** uses definition lists, dl/dt/dd tags
*http://www.mozilla.org/support/firefox/faq
** another definition list based Q/A example
*http://www.sun.com/software/opensource/java/faq.jsp
** question/answer indicated by class of divs
*http://www.webstandards.org/learn/faq/
** complex, outline style with questions grouped in hierarchies
*The Firefox faq is marked up with <dl> http://www.mozilla.org/support/firefox/faq as is the old Mozilla 1.5 FAQ: http://www.mozilla.org/start/1.5/faq/profile.html#newprofile Both of them are separated into sections and have tables of contents.
*For the [http://www.w3.org/MarkUp/2004/xhtml-faq W3C XHTML faq], the table of contents is in an ordered list, and contains urls that point to the question/answer fragments below.  The question answer fragments are an h3 element paired with one or more p elements.
*For the Brainstorms and Raves article on [http://brainstormsandraves.com/articles/semantics/structure/#faqSemantics, HTML, XHTML, and Structure], the faq is definition list enclosed in a div element of the class faq.  Questions are inside of dt elements, and answers inside of dd elements.  If a question has multiple answers, there would be a seperate dd element for each answer.


==Multi-page FAQs==
==Multi-page FAQs==
Line 39: Line 48:
*http://www.sfgate.com/chronicle/faq.shtml
*http://www.sfgate.com/chronicle/faq.shtml
**"sign me up" (the last item)
**"sign me up" (the last item)
== Formats ==
'''NOTE: This should really be moved to [[qa-formats]]'''.
*DocBook has a <qandaset> element http://www.docbook.org/tdg/en/html/qandaset.html which is used with <question> and <answer> elements, and optionally <qandadiv> elements.


==See also==
==See also==
*[[question-answer-brainstorming]]
*[[question-answer-brainstorming]]

Latest revision as of 20:31, 22 August 2017

Question & Answer Examples

Examples of questions & answers on web pages.

Contributors

Andy Mabbett,Taylor Cowan

General

Multi-page FAQs

Questions lacking specificity

  • http://www.ratemds.com/faq.jsp
    • What is the purpose of this site?
      • could be: what is the purpose of ratemds.com?
    • Who can rate?
      • "Who can rate MDs on ratemds.com?
    • What is your privacy policy?
      • What is the privacy policy of ratemds.com?

Supplementary questions

Non-questioning questions

Formats

NOTE: This should really be moved to qa-formats.

See also