Most voted "tags" questions
Tags are markup language structures containing instructions, having a start mark and an end mark so that the browser can render a page. There is a trend nowadays to use tags only as style delimiters and/or content, both in HTML and XML.
Learn more…103 questions
Sort by count of
-
44
votes2
answers21131
viewsWhat does branch, tag and trunk mean?
What they mean and what best practices to use them?
-
28
votes5
answers2672
viewsWhat is the </datalist> tag for?
When I was using Sublime Text to edit a file html, I realized that he suggested a tag with the name of datalist. I had never seen about this tag before, but it seems that really exists. As I did not…
-
23
votes2
answers4157
viewsWhat are <head> meta tags and what are they for?
What are the meta tags contained in <head>? What they are and what they serve and what are the pros and cons of using them? Example: <meta charset="UTF-8"> <meta name="description"…
-
17
votes2
answers1662
viewsIn HTML5, should null elements be closed with ">" or "/>"?
In HTML 5, there is a series of null elements, which according to the specification (English) and examples given (English) by W3C, they are closed using only >: Elementos Nulos area, base, br,…
-
14
votes1
answer697
viewsHow does the <dialog> tag work? Does it have a future?
Some time ago, reading some articles on HTML5, I learned about the existence of the tag <dialog>. I was curious to know how it works, because currently when it comes to dialogues (also known…
-
13
votes2
answers1166
viewsIs it acceptable to use <H2>, <H3>, <p>, <div> tags within links/anchors (<a></a>)?
It is acceptable in question SEO and semantics to use tags like <h2>, <h3>, <p> and <div> inside <a href=""></a>? I noticed that to make items on a page people…
-
11
votes3
answers1622
viewsWhat are the allowed elements within the <P> tag?
I’ve been through some trouble and I could still contemplate in that reply that the tag <p> does not accept any element as a child. It seems to me that there are exceptions to some tags, IE,…
-
8
votes2
answers314
viewsIs there any difference between clip and overflow property?
Studying on the property clip I came across the following statement: The estate clip works in a similar way to overflow with some differences. It gave me some doubts: This statement is true? What…
-
6
votes1
answer474
viewsIs it correct to name html tag attributes arbitrarily?
I would like to know about creating and manipulating attributes in html that are created. We have the attributes already known as the id, class, etc. that we put in the tags so we can manipulate…
-
5
votes1
answer2156
viewsPlace emoticons in my website’s chat
I would like to know how in php or javascript to put emoticons according to the person typing the text and a command, ex: Hello good morning [/sun] or I am fine [:Mile] Anyway independent of the…
-
5
votes1
answer708
viewsWhy does it declare a class or id in the script and link tags?
Several times I see coding in tags <script>/<link> who possess class: <script type="text/javascript" language="javascript" class="init"> <link rel="stylesheet"…
-
4
votes1
answer591
viewsCan we use {variable} in Codeigniter Views?
I know we can use Views.html file in Codeigniter, now I wonder if we can use tags {variavel} directly as in Smarty. Example: <body> <h1>{msg}</h1> </body> Are there any…
-
4
votes1
answer1153
viewsGet information from a div in C#
Well, I have a code that reads the page but I need the following: <a href="/t848p15-teste">2</a> The idea of the code is to look for a tag <a> that has this 2 and return the link.…
-
4
votes1
answer2872
viewsWhat does " :: " mean in PHP?
In PHP, what do these four dots mean "::" ? I see a lot in things like: stackoverflow::class
-
4
votes2
answers5911
viewsWhat is rel="Preload"?
I saw in a code snippet of a site a definition more or less like this: <link rel="preload" href="caminho/para/o/script.js" as="script"> I’ve never seen that code before. I wonder what that…
-
4
votes2
answers213
views -
4
votes1
answer358
viewsBy Divs next to bootstrap
I have 5 Ivs, I want them aligned in the same line... But the center div is not aligned... <section class="content"> <div class="row"> <div class=" col-xs-2 "> <a href="#"…
-
4
votes5
answers1315
viewsJoin two events that have the same function
I am new to programming and I was creating an html code, in which I am calling JS functions in my own input. Anyway, I have this excerpt, in my input code: <input type="text"…
-
3
votes1
answer152
viewsDoes the base tag affect scripts and styles in an html document?
Having in http://exemplo.com/diretorio1/documento1.html the code: <!DOCTYPE html> <html> <head> <title>Uma página</title> <base href="http://exemplo.com/diretorio2/"…
-
3
votes1
answer2527
viewsRemove local tag in Git
How do I delete a tag that was created locally in my git repository and has not yet been "pushada" Example: I created the tag v1.4.9, but I noticed I was in the wrong branch before I did git push. I…
-
3
votes1
answer163
viewsUse php <?= ? > opening tag
To tag opening <?= ?> can be used in large syntax? Or only in simple print syntax like: <?= 'meu nome é xxxxxxxx' ?>
-
3
votes2
answers106
viewsAttribute href exclusively for goal <a></a>?
It is correct to put the attribute href in a mark other than a. Example: <ul> <li href="#page1">Page1</li> <li href="#page2">Page2</li> <li…
-
3
votes2
answers1124
viewsc# - Unity - Error: Object Reference not set to an instance of an Object
I’m a beginner in C#programming, and I’m trying to learn how to make a 2d sidescroller game, but I couldn’t move forward from a part of the tutorial. This is because the camera simply doesn’t follow…
-
3
votes1
answer398
viewsHow to define a favicon? Is it mandatory to define it?
There are certain things that, by not doing constantly, I always end up forgetting how to do it. And one of them is the definition of a favicon for my website. What is the tag and attributes that I…
-
3
votes3
answers33037
viewsHow to use the Icon tag in HTML?
I want to use a 'flexinha' next to the text of the button. I tried to use the symbols of the keyboard itself, but the site I want to insert does not accept. I can use the icon tag, as it is used to…
-
3
votes1
answer6079
viewsWhat is the head tag for in html?
I am reading a book which at a certain point says the following: "Now we need a place to place our templates - one way is to use an existing element in our HTML, preferably hidden. You can achieve…
-
3
votes1
answer308
viewsFor what reason, I have to double-click the bookmarklet to insert dynamic content
I’ve developed a little plugin commonly known as bookmarklet. The result is almost satisfactory for my case, however there is a hindrance. For me to start it I have to double click otherwise, it…
-
3
votes3
answers1060
viewsIs there any way to let the vscode tags close as is the sublime?
When you open a tag in the sublime as <div> write the content and then type "</" it automatically closes the tag that was opened, without having to type div. You can do this on Vscode?…
-
2
votes4
answers129
viewsSort H tags within a page
I wonder if there are problems in informing more than one H1 tag within a page, more in relation to SEO, if Google condemns this type of action. And also, if there’s a problem with me reporting…
-
2
votes1
answer53
viewsHow to create tag event?
I am creating a form and would like to add tags each time a name is selected with an autocomplete. This would be the equivalent of adding tags to an OS question. I would like to have a basis on how…
-
2
votes1
answer573
viewsRegular PHP expression, how to remove open html tags?
Hi! I need to remove an html chunk that bugged my string, it looks like this: e="text-align:left;"> Texto normal ... This generates a visual error. Another error generating is at the end of the…
-
2
votes1
answer86
viewsAdding tag to photo
I’m trying to add tags to a photo (like the facebook identification system), the error I’m having is this: When I click on an image to put the tags the form first appears in the corner of my…
-
2
votes2
answers535
viewsDjango Custom Template Tags
Good afternoon, recently I have a problem in the Django framework, I have a problem in my custom template tag, I do the method in a.py file call it in the templates and does not display the result I…
-
2
votes2
answers192
viewsWhy do you need to close the script tag?
Why open only one tag <script> doesn’t work properly? I know it’s not the same thing as Stylesheets of CSS: <link rel="stylesheet" href="assets/css/bootstrap.min.css" /> But why it is…
-
2
votes3
answers452
viewsThere is a useful way to highlight an HTML element/tag(a) in a certain color
Well, I want to define a color tag style. The following example changes the style of an element <p id="tag"> parágrafo </p> To change the style of an HTML element, this syntax is used:…
-
2
votes1
answer1278
viewsHow to display the text in the datalist and not its value?
I made a built-in autocomplete in a field input without much difficulty, as shown below: <label>Professor</label> <input type="text" list="list-professor" name="professor_id">…
-
2
votes2
answers678
viewsHow does this < base > HTML tag work?
hi would like to know how and what works this < base > HTML5 tag ?
-
2
votes1
answer322
viewsRemove html tag but keep <br> Javascript
I’m having doubts about how to remove html tags, but keep only <br> This code removes the tags, but I would like to keep the <br> and maybe other tags. function removeHtmlTag(strx,chop){…
-
2
votes0
answers86
viewsWhat is flow element in HTML?
What is flow element in HTML? I tried to search in google, but only found a very technical explanation and did not understand very well.
-
2
votes1
answer94
viewsTag <head> <body> in Angular projects
I’m studying Angular and I was left with a ref doubt. the use of tags <head> and <body> For example, in an html file would: <head> <title>{{ tittle }}</title>…
-
2
votes2
answers367
viewsFieldset element should be used only in form?
The element <fieldset> may only be used in forms for your organization and grouping of content or may be used anywhere in the code?
-
2
votes1
answer139
viewsReplace xml tag with nodejs
Hello, I would like a help to remedy a problem I am facing. I need to rename the tags of an xml file by nodejs. I thought about using regex, using Fs to read the file, but I got a little lost.…
-
2
votes1
answer57
viewsChanging tags automatically
I am creating a function for sending email via nodemailer, and our have some templates that are for specific cases. I need a function that once you receive the Welcome template for example,…
-
1
votes2
answers267
viewsDoes replacing <a> with <span> cause problems in the page’s SEO?
Well, I have this html to activate the title and article link: <h1 class='post-title entry-title'> <b:if cond='data:post.link'> <a…
-
1
votes1
answer83
viewsscroll rotates and stops at the div below
I’m developing a website and I’m having a problem. I want to create the website presented some products, and I want to scroll the scroll, the site runs to a certain size stopping in the position I…
-
1
votes2
answers97
viewsTag HTML in Helper Razor
I have HTML code: <label class="labelinput">Nº Compra<em>*</em></label> Passing to the Helper was as follows: @Html.Label("Nº Compra:", new {@class = "labelinput"}) But I…
-
1
votes1
answer100
viewsSQL only in custom Wordpress post for tag conversion
Let’s say a site using Wordpress has half the posts of the default type, and the other half using a Custom Post Type "review" http://codex.wordpress.org/pt-br:Tipos_de_Posts_Personalizados. But this…
-
1
votes1
answer1382
viewsAdd a tag to another tag using Javascript
I have a jQuery that I use on a website that I’m doing that applies the zoom effect on an image. Only when I hover the mouse over the image and it zooms in, jQuery creates another IMG tag with the…
-
1
votes0
answers69
viewsMy Unity 3D project on the LAYERS part does not show the Shootable and Floor option and a few more options
Hello, I formatted my PC and took a backup of the project. I installed Windows 8.1 pro, installed the Unity 3D v 5.2 I put my project there all straight there when I went to give play the project…
-
1
votes2
answers847
viewsBest practice for handling branchsets in SVN
Here in the company we use SVN for versioning. We have TRUNK that is available for approval before going into production and generating a TAG, and we also have BRANCHS that symbolize each demand.…