I just found a page of web developer interview questions, and I'm not sure what the answers are for two of them. For Q1, I pick answer e. For Q2, I pick answer b, but I'm not sure if there are better ways to do it.
Which markup structure is most semantic for a title within a document body, considering that the title may be horizontally centered using a large, bold, red font?
a.
<h1>This is a Title</h1>
b.
<p align="center"><font size="+3"><b>This is a Title</b></font></p>
c.
<h1 style="font-weight:bold; font-size:large; text-align:center; color:red;">This is a Title</h1>
d.
<title>This is a Title</title>
e.
<h1 class="LargeRedBoldCenterHeading">This is a Title</h1>
f.
<span class="title">This is a Title</span>
Are each of the following footer markup solutions acceptable? Why or why not? What alternate solution(s) would you propose?
a.
<div id="footer">
Copyright 2010 My Company | This text is arbitratry.
</div>
b.
<div id="footer">
<p>Copyright 2010 My Company | This text is arbitratry.</p>
</div>