The front face questions (a) you can not miss

1. <keygen> tag HTML5 is correct it?

Key <keygen> tag to form a predetermined field of the generator. When submitting a form, sent to the server private key is stored in a local, public key.
HTML5 is the correct label.

2. <bdo> tag if you can change the text direction?

<Bdo> tag override the default text direction. You can change the text direction.

You can change the text direction

3. The following HTML code is correct?

HTML

correct. <Figure> tag separate streams predetermined content (images, diagrams, photos, code, etc.). Content elements should figure associated with the main content, but if it is deleted, it is not to deal with the document flow impact. Use <figcaption> add a title element (Caption) of figure.

4. Under what circumstances should use the small label? When you want to create a subtitle after h1 heading? When there is an increase in footer copyright?

small label scene is generally used in the copyright information and legal texts, also can use annotations additional information (bootstrap visible) in the title, but can not be used to create subtitles.

The HTML Small Element (<small>) makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size. In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation.

5. In a well-structured web page, the more h1 tag would be detrimental to SEO it?

Not affected.

According to Matt Cutts (lead of Google's webspam team and the de facto expert on these things), using multiple <h1> tags is fine, as long as you're not abusing it (like sticking your whole page in an <h1> and using CSS to style it back to normal size). That would likely have no effect, and might trigger a penalty, as it looks spammy.
If you have multiple headings and it would be natural to use multiple <h1>'s, then go for it.

6. If you have a search results page, you want to highlight the search keywords. What HTML tags can be used?

<Mark> tag performance highlighted text.

The HTML <mark> Element represents highlighted text, i.e., a run of text marked for reference purpose, due to its relevance in a particular context. For example it can be used in a page showing search results to highlight every instance of the searched for word.

7. The following code scope attribute is doing what?

HTML

scoped attribute is a Boolean attribute. If the attribute pattern is applied only to the parent element and the child element of style elements.

8. HTML5 support block-level hyperlinks do?

HTML

stand by. In HTML5 <a> element appears as a hyperlink, support any inline elements and block-level elements.

9. When the following HTML code loads will trigger a new HTTP request?

HTML

Correct

10. When the following HTML code loads will trigger a new HTTP request?

HTML

Correct

11. main.css will be loaded alert ( 'Hello world') and compile it?

HTML

Correct

12. Before main2.css get main1.css necessarily have to be downloaded to resolve it?

HTML

wrong

13. After Paragraph 1 will be loaded loaded main2.css compiled it?

HTML

Correct

If wrong, I hope to point out, thank you (〃 '▽' 〃)

read more

Guess you like

Origin www.cnblogs.com/jlfw/p/11957354.html