Most voted "semantics" questions
Semantics is the study of meaning. Focuses on the relationship between signifiers, such as words, phrases, signs and symbols, and what they represent, their denotation.
Learn more…55 questions
Sort by count of
-
50
votes3
answers8505
viewsWhat is the semantic difference between <em> and <Strong>? Do they replace <i> and <b>?
They say the element <em> should be used for emphasis, and the <strong> for even more intense emphases. This seems rather confusing. When and why use each of them? And <i> and…
-
40
votes2
answers4961
viewsHow to use such semantic tags?
Since the release of HTML5, I have noticed that several different tags have started to "emerge". Everywhere I tried to study on the subject, I always saw the expression "semantics". I understood…
-
15
votes4
answers426
viewsContest question: logic error and semantic error?
I participated in a contest and fell the following question: 33 - Analyze the algorithm and check the correct option for this algorithm. Algorithm Calculo_media: Var N1, N2, MEDIA: Inteiro Início…
-
14
votes1
answer1374
viewsWhat is the difference between a statement and an expression?
In the universe of programming these are two widely used terms, but sometimes I see people using them (sometimes even experienced professionals) as if they were interchangeable. Is that valid? When…
-
12
votes4
answers4874
viewsIs there a programming language in Portuguese? If so, what are they applied to?
As we are used to, "all" programming languages (or almost all, I don’t know) follow the American standard, both in the English language (for, while, if, class, date) how much in date/time and…
-
12
votes1
answer1426
viewsWhat is the Richardson Maturity Model?
In a question I asked about HTTP was commented on the Richardson Maturity Model, from what I understand, it serves to define how semantic your server is relative to HTTP (if you use verbs and return…
-
11
votes3
answers7823
viewsWhat is the semantic difference between Section and article?
Searching, I found some questions related to HTML5 tags: What is the difference between <div> and <Section>? How to use such semantic tags? HTML5: difference of Section and article MDN…
-
10
votes3
answers1415
viewsWhen should I use elements '<ul>'?
Recently I was thinking about the structure of a component for a project in which we are trying to follow the outlines of the W3C semantics, but I ended up with a certain doubt. Here is the…
-
10
votes3
answers387
viewsHow does semantics/indexing work with Angularjs?
I always wonder, Angularjs is a framework that is being used constantly. But I have a question about how it works for the crawlers (googlebot example). They even run the javascript and interpret the…
-
10
votes1
answer729
viewsWhen should an ordered list actually be an ordered list in HTML?
In HTML there are two basic elements to define a list: <ol>, representing an ordered list; <ul>, which represents a disorderly list; But when, in fact, it makes sense to represent an…
-
9
votes2
answers2054
viewsIs it wrong to structure a form with tables?
Today with the HTML5/CSS3 and its numerous ways to align the elements (Divs) Is it wrong to structure a table form? Ex: <form action="action" method="POST"> <table style="width:100%">…
-
9
votes3
answers2835
viewsWhat is the difference between <q>, <blockquote> and <cite> tags in HTML? And how to use them correctly?
What’s the difference between <q> and <blockquote> and <cite>, because everything seems to be for quote. Is there any good practice or correct way to use these tags correctly? We…
-
8
votes2
answers217
viewsDoubt Semantic Html5
What’s right for sidebar? <div> <aside></aside> <aside></aside> </div> <aside> <section></section> <section></section>…
-
8
votes2
answers671
viewsWhat is HTML Outline (HTML Outlines)?
What is the function of an HTML sketch (HTML Outlines)? How he is formed? When? Could someone give me a profound explanation on the subject?…
-
7
votes2
answers1209
viewsUse <Section> tag inside a <aside>
My appointment is as follows: <aside> <div class="last-news"> Conteudo </div> <div class="social"> Conteudo </div> <div class="links"> Conteudo </div>…
-
7
votes1
answer1002
viewsSemantically, which tag should I use for icons?
I have a navigation menu with some icons using @font-face. Each item in this menu has: the icon (with ::before); text, explaining the function of that link. .It turns out that when the page is…
-
6
votes1
answer2618
viewsHow to use <address> tag, doubts?
It is correct to use the element <address> just for an email? For example: <address><a href="mailto:[email protected]">[email protected]</a></address> Examples I always…
-
6
votes2
answers694
viewsWhat are semantic messages in Git?
Eventually, when I browse some of the Github repositories, I come across certain messages from commit standardized: feat(*): initiate re-write Or: refactor(*): remove unwanted files What are these…
-
5
votes2
answers90
viewsDoes the unit of measurement "in" change on each device?
When I put as unit "1em" in a "font-size" for a desktop for example, it will become 15px by default already from the browser. But the "in" is worth a smaller size for a mobile device for example,…
-
4
votes1
answer1197
viewsWhat is the prefix attribute for in the html element (tag)?
Why do you use the prefix attribute on elements (tag) html? And in HTML5, can I also use it? Thank you! <html prefix="og: http://ogp.me/ns#">
-
4
votes2
answers213
views -
4
votes1
answer49
viewsDoes the <Section> tag replace the <main>?
I’m starting to use HTML5 and still not sure how to choose between tags <main> and <section>. I see people using after the header <main>, while others already use the…
-
3
votes1
answer70
viewsProblem with HTML document validation
When validating my HTML document this giving the following problem Section Lacks Heading. Consider using H2-H6 Elements But I don’t need it, it’s really unnecessary for the purpose of my site…
-
3
votes1
answer412
viewsBetter HTML structure - Virtual Store
Talk, you guys, blz ? My question is the following: what is the best HTML structure to build a virtual store ? Taking into account semantic and SEO patterns. For example: I must use divs, li or…
-
3
votes2
answers691
viewsWhat is the correct tag for grouping elements into an aside
I’m creating a sidebar for my site, I want to put something like "last posts, social network, a kind of top downloaded etc." or something simpler "last posts" just :D .. but I’m in doubt about tag…
-
3
votes1
answer640
viewsCan "<a>" be used without "href"?
Is there a restriction or problem in using the tag a without the attribute href? Example: <a>teste</a>.
-
3
votes1
answer41
viewsSemantics for HTML5 sub-pages
It would be correct to use the code as below? <article> ... <section> <article>...</article> <article>...</article> <article>...</article>…
-
3
votes2
answers890
viewsCan I use header/footer tags inside the main/Section tag?
I’d like to know if you can, within the element <main>, or <section>, put the tags <header> and <footer>. For example: <section> <header>topo da…
-
3
votes1
answer67
viewsIs it correct to repeat the itemprop attribute?
I wish I could repeat myself itemprop this way is wrong. Actually, I want to show 3 products and put the respective itemprop of each situation: <img class="card-img-top"…
-
3
votes1
answer145
viewsIs <label> semantic or allowed to use which elements inside?
Studying I saw some examples of code where the input is placed inside the label, that brought me a doubt, it would be semantic to use what elements within a label? <label…
-
3
votes1
answer434
viewsHow to do "Semantic Quotes" with the <q> tag, but it is with a different font-family
The question is very simple and objective, I want to have a font style for the paragraph and another font style for the quotes, but when I put the content between the tag <q> what’s inside…
-
3
votes1
answer113
viewsIs there any difference between the terms "call", "invoke" or "apply" a function?
I commonly read the term "invoke" or "call for" a function to refer to the action of executing that function. But I may also read the term "apply". In my view, all three of these terms have the same…
terminology language-independent semantics nomenclatureasked 4 years, 1 month ago Luiz Felipe 32,886 -
3
votes2
answers697
viewsHow to put ALT in a Background-Image? How to make a Background-Image more accessible and semantic?
It’s a simple but objective question. We know the importance of tag ALT for semantics, accessibility and even for SEO. But how can I set these tag properties ALT in an image that is defined as…
-
3
votes3
answers2246
viewsHow to disable a link semantically while maintaining accessibility?
I noticed some elements like select, input and button has the attribute disable, but the element of link <a> does not seem to recognize this attribute and is not disabled. Is there any way to…
-
2
votes2
answers476
viewsDoubt with method visibility and property in PHP
What is the purpose of declaring functions initiated with underline? Eventually I wonder why this. For example: protected function _exemplo() {} It is not enough to declare so? protected function…
-
2
votes1
answer47
viewsDoubt about hierarchical relationships between classes and slots
I’m trying to make a ontology of a hospital and I have the classes: Physiotherapist, Physician, Psychologist and Nutritionist Within the class Médico, I have some specialties - among them: Oncology…
-
2
votes2
answers162
viewsSemantically, should I choose ul or article when displaying products?
I am marking the products listed on the home, I am using HTML5 to structure the pages, my intention is to define a semantic content. Because then I came across the following possibilities of…
-
2
votes0
answers15
viewsUse of the tag Section in HTML5
Much is said about HTML5 semantics and their new tags, my doubt is, when should you use the tag <section> semantically correct? Is there any rule/criterion/scope for the use of the same?…
-
2
votes1
answer208
viewsHTML5 Semantic Structuring, How to Use?
Context I was making a template prototype for a website, and I came across a question regarding the tag <aside>. Below is an example to explain the semantic division. Explaining the tags Tag…
-
2
votes1
answer182
viewsCan I use the <figcaption> tag without using the <figure>?
I want to put captions in my photos and would like to know if I can use the tag <figcaption> without having to use it inside the tag <figure>? <img src="_fotos/imagem-2.jpg" alt=""…
-
2
votes0
answers21
viewsClasses named with emoji characters
I was sailing in the web and suddenly I’m faced with it: Yes, it is a "named" class with emoji characters. I was curious and decided to perform some tests to see how it worked, after all, it’s not…
-
2
votes1
answer400
viewsHTML Doubt Credit Card Form
I saw a form that suggests the credit card that’s on autocomplete. But I honestly don’t understand what’s different about this form autocomplete work? If the fields input of form have not type how…
-
2
votes1
answer61
viewsApplying Semantics Html5
Good morning to all. I’m doing a study in Html5 semantics and ended up with a knot in my head... I wonder if I’m applying semantics correctly. footer { position: relative; bottom: 0; width: 100%;…
-
1
votes3
answers1020
viewsGood practices with bootstrap grid system
It would be good practice to declare grids within grids using twitter bootstrap and this can affect code responsiveness? Example: <div class="container"> <div class="row clearfix">…
-
1
votes0
answers17
viewsAdd values to an ANTLR grammar
I have a grammar: grammar SimpleCalc; expr : term ( ( '+' | '-' ) term )* ';' ; term : number ; number : DIGIT+ ; DIGIT : '0'..'9' ; WHITESPACE : ( '\t' | ' ' | '\r' | '\n'| '\u000C' )+ ->…
-
1
votes0
answers15
viewsdifference between Owl and rdf
I’m starting to study and work with semantic web and I’m a little confused about some terms. I would like to understand basically what the differences between the formats (technologies) Owl and rdf…
-
1
votes0
answers238
viewsUse a lot ul/li on bootstrap Nav or use links and style in css?
I’m recreating a menu with bootstrap 4.5 for better learning and I was left with a question. I have the following nav for example. The proposal is to recreate this menu in a responsive way with…
bootstrap-4 responsive-layout nav-bar semanticsasked 4 years, 4 months ago Marcielli Oliveira 1,597 -
0
votes2
answers44
views -
0
votes0
answers345
viewsOpen modal across screen and not within iframe
Hello, I have an iframe, and inside it has a modal using semantic, I want to know how I do and if it is possible to open this modal on the whole screen, and not within the iframe itself, I have…
-
0
votes2
answers96
viewsaside inside the header
Hi, I was wondering if it’s semantic to use the tag <aside></aside> inside the head in a menu that is fixed in the header of the page next to the logo of the site, in my conclusion I…