In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Today, I will talk to you about what little knowledge is necessary for the web web page development interview written test, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
The difference between inline elements and block-level elements in HTML:
In a standard document stream, block-level elements have the following characteristics:
① always starts on a new line and occupies a whole line
② height, row height, outer and inner margins can be controlled.
③ broadband is always the same as the browser width, independent of content
④ it can hold inline elements and other block elements
Characteristics of in-line elements:
① and other elements are on one line
② height, row height and outer and inner margins can be changed.
The width of ③ is only related to content
④ inline elements can only hold text or other inline elements.
Width and height cannot be set, its width increases with content, height changes with font size, inline elements can set outer boundaries, but outer boundaries do not work on top and bottom, but can only work on left and right, and can also set inner boundaries, but inner boundaries do not work on up and down in ie6, only on left and right.
Common block-level elements and inline elements:
Block element (block element)
1. * address-address
2. * blockquote-Block reference
3. * center-align blocks in the lift
4. * dir-list of directories
5. * div-commonly used block-level easy, is also the main label of css layout
6. * dl-definition list
7. * fieldset-form control group
8. * form-Interactive form
9. * H2-headline
10. * H3-subtitle
11. * heading at level h4-3
12. * headings at level h5-4
13. * heading at level h6-5
14. * heading at level H7-6
15. * hr-horizontal separator
16. * isindex-input prompt
17. * menu-menu list
18. * noframes-frames optional content, (this block content is displayed for browsers that do not support frame
19. * noscript-optional script content (displayed for browsers that do not support script)
20. * ol-sort form
21. * p-paragraph
22. * pre-formatted text
23. * table-form
24. * ul-unsorted list
Inline element (inline element)
1. * a-Anchor Point
2. * abbr-abbreviation
3. * acronym-initials
4. * b-bold (not recommended)
5. * bdo-bidi override
6. * big-Big font
7. * br-Line break
8. * cite-reference
9. * code-computer code (required when referencing source code)
10. * dfn-define the field
11. * em-emphasize
12. * font-Font setting (not recommended)
13. * I-italic
14. * img-Picture
15. * input-input box
16. * kbd-defines keyboard text
17. * label-form label
18. * Q-short reference
19. * s-underlined (not recommended)
20. * samp-defines the sample computer code
21. * select-Project selection
22. * small-small text
23. * span-commonly used inline containers to define blocks within text
24. * strike-underlined
25. * strong-emphasis in bold
26. * sub-subscript
27. * sup-superscript
28. * textarea-Multiline text input box
29. * tt-telex text
30. * u-underline
31. * var-define variables
After reading the above, do you have any further understanding of the necessary knowledge of the written interview test for web web development? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.