Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the written test questions of HTML in the front end of web

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

Today, the editor will share with you the relevant knowledge points about the written test questions of HTML in the front end of web. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Q1: is it the correct HTML5 tag?

A: yes.

The label specifies the key pair generator field used for the form. When the form is submitted, the private key is stored locally and the public key is sent to the server. It's a HTML5 tag.

Q2: can the tag change the direction of the text?

A: yes.

The label overrides the default text orientation.

Here is some text

Q3: is the following HTML code correct?

My image

This is my self portrait.

A: correct

Tags specify independent streaming content (images, diagrams, photos, codes, and so on). The content of the figure element should be related to the main content, but if deleted, it should not affect the document flow. Use the element to add a title (caption) to the figure.

Q4: in which case should I use the small tag? When you want to create a subtitle after the H2 title? Or when adding copyright information to footer?

A:small tags are generally used in copyright information and legal texts, and additional information can be used in headings (visible in bootstrap), but not to create subheadings.

The HTML Small Element () 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.

Q5: in a well-structured web page, will multiple H2 tags be bad for SEO?

A: it doesn't affect.

According to Matt Cutts (lead of Google's webspam team and the de facto expert on these things), using multiple tags is fine, as long as you're not abusing it (like sticking your whole page in an 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's, then go for it.

Extracted from: http://www.quora.com/Does-using-multiple-h2-tags-on-a-page-affect-search-engine-rankings

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

A: the label represents highlighted text.

The HTML 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.

Q7: what does the scope attribute do in the following code?

Hello World p {color: # FF0;}

This is my text

This is awesome

I am some other text

The A:scoped property is a Boolean property. If you use this attribute, the style applies only to the parent element of the style element and its children.

Does Q8:HTML5 support block-level hyperlinks? For example:

Hello

I am some text

A: yes.

The element in HTML5 is represented as a hyperlink that supports any inline and block-level elements.

Q9: will a new HTML request be triggered when the following HTTP code is loaded?

My picture

A: yes. Wow

Q10: will a new HTML request be triggered when the following HTTP code is loaded?

My photo

A: yes!

Does Q11:main1.css have to be loaded and compiled in alert ('Hello world')?

Alert ('Hello World')

A: yes!

Q12: does main1 have to be downloaded and parsed before main2.css can be obtained?

A:no!

Q13: will main2.css be loaded and compiled after Paragraph 1 is loaded?

Paragraph 1

Paragraph 2

A:yes!

These are all the contents of the article "what are the written test questions for HTML in the front end of web?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 230

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report