What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Flag vs Tag - What's the difference?

flag | tag |

In computing terms the difference between flag and tag

is that flag is to set a program variable to true while tag is a keyword, term, or phrase associated with or assigned to data, media, and/or information enabling keyword-based classification; often used to categorize content.

As nouns the difference between flag and tag

is that flag is a piece of cloth, often decorated with an emblem, used as a visual signal or symbol while tag is a small label.

As verbs the difference between flag and tag

is that flag is to furnish or deck out with flags while tag is to label (something).

flag

English

(commons)

Etymology 1

From (etyl) flag, . More at (l), (l).

Noun

(en noun)
  • A piece of cloth, often decorated with an emblem, used as a visual signal or symbol.
  • An exact representation of a flag (for example: a digital one used in websites).
  • (nautical) A flag flown by a ship to show the presence on board of the admiral; the admiral himself, or his flagship.
  • (nautical, often used attributively) A signal flag.
  • The use of a flag, especially to indicate the start of a race or other event.
  • (computer science) A variable or memory location that stores a true-or-false, yes-or-no value, typically either recording the fact that a certain event has occurred or requesting that a certain optional action take place.
  • (computer science) In a command line interface, a command parameter requesting optional behavior or otherwise modifying the action of the command being invoked.
  • (British) An abbreviation for capture the flag.
  • Synonyms
    * Boolean * switch
    Derived terms
    * antiflag * false flag * flagkini * freak flag * raise a flag * show the flag * white flag

    Verb

    (flagg)
  • To furnish or deck out with flags.
  • To mark with a flag, especially to indicate the importance of something.
  • * {{quote-news
  • , year=2011 , date=January 8 , author=Chris Bevan , title=Arsenal 1 - 1 Leeds , work=BBC citation , page= , passage=Walcott was, briefly, awarded a penalty when he was upended in the box but referee Phil Dowd reversed his decision because Bendtner had been flagged offside. }}
  • To signal to, especially to stop a passing vehicle etc.
  • Please flag down a taxi for me.
  • To convey (a message) by means of flag signals.
  • to flag an order to troops or vessels at a distance
  • To note, mark or point out for attention.
  • I've flagged up the need for further investigation into this.
    Users of the Internet forum can flag others' posts as inappropriate.
  • (computing) To signal (an event).
  • The compiler flagged three errors.
  • (computing) To set a program variable to true .
  • Flag the debug option before running the program.

    See also

    * banner * colour * ensign * jack * pennant * standard * vexillology

    Etymology 2

    Probably from (etyl).

    Verb

    (flagg)
  • To weaken, become feeble.
  • His strength flagged toward the end of the race.
  • * Jonathan Swift
  • The pleasures of the town begin to flag .
  • * {{quote-news
  • , year=2012 , date=December 29 , author=Paul Doyle , title=Arsenal's Theo Walcott hits hat-trick in thrilling victory over Newcastle , work=The Guardian citation , page= , passage=The sides took it in turns to err and excite before Newcastle flagged and Arsenal signalled their top-four credentials by blowing the visitors away. }}
  • To hang loose without stiffness; to bend down, as flexible bodies; to be loose, yielding, limp.
  • * T. Moore
  • as loose it [the sail] flagged around the mast
  • To let droop; to suffer to fall, or let fall, into feebleness.
  • to flag the wings
    (Prior)
  • To enervate; to exhaust the vigour or elasticity of.
  • * Echard
  • Nothing so flags the spirits.

    Etymology 3

    Of uncertain origin; compare Danish .

    Noun

    (en noun)
  • Any of various plants with sword-shaped leaves, especially irises; specifically, Iris pseudacorus .
  • * before 1899 , Robert Seymour Bridges, There is a Hill :
  • And laden barges float
    By banks of myosote;
    And scented flag and golden flower-de-lys
    Delay the loitering boat.
    Derived terms
    * sweet flag

    Etymology 4

    Probably of Scandinavian origin; compare Icelandic flag

    Noun

    (en noun)
  • A slice of turf; a sod.
  • A slab of stone; a flagstone, a flat piece of stone used for paving.
  • (geology) Any hard, evenly stratified sandstone, which splits into layers suitable for flagstones.
  • Verb

    (flagg)
  • To lay down flagstones.
  • * Fred is planning to flag his patio this weekend.
  • Etymology 5

    Noun

    (en noun)
  • A group of feathers on the lower part of the legs of certain hawks, owls, etc.
  • A group of elongated wing feathers in certain hawks.
  • The bushy tail of a dog such as a setter.
  • (music) A hook attached to the stem of a written note that assigns its rhythmic value
  • References

    1000 English basic words ----

    tag

    English

    (wikipedia tag)

    Etymology 1

    Noun

    (en noun)
  • A small label.
  • A game played by two or more children in which one child (known as "it") attempts to catch one of the others, who then becomes "it".
  • A skin tag, an excrescence of skin.
  • A type of cardboard.
  • Graffiti in the form of a stylized signature particular to the person who makes the graffiti.
  • A dangling lock of sheep's wool, matted with dung; a dung tag.
  • An attribution in narrated dialogue (eg, "he said").
  • (chiefly, US) a vehicle number plate; a medal bearing identification data (animals, soldiers).
  • (baseball) An instance of touching the baserunner with the ball or the ball in a gloved hand.
  • The tag was applied at second for the final out.
  • (computing) A piece of markup representing an element in a markup language.
  • The </code> <strong>tag </strong> provides a title for the Web page. </em> </dd></dl> <dl><dd><em>The <code><sarcasm></code> <strong>tag </strong> conveys sarcasm in Internet slang. </em> </dd></dl> <li> (computing) A keyword, term, or phrase associated with or assigned to data, media, and/or information enabling keyword-based classification; often used to categorize content. </li> <dl><dd><em>I want to add genre and artist <strong>tags </strong> to the files in my music collection. </em> </dd></dl> <li> Any slight appendage, as to an article of dress; something slight hanging loosely. </li> <li> A metallic binding, tube, or point, at the end of a string, or lace, to stiffen it. </li> <li> The end, or catchword, of an actor's speech; cue. </li> <li> Something mean and paltry; the rabble. </li> <li> A sheep in its first year. </li> <dl><dd>(<i>Halliwell</i>) </dd></dl> <li> (<i>lb</i>) Any short peptide sequence artificially attached to proteins mostly in order to help purify, solubilize or visualize these proteins. </li> </div><div class='fourth-Verb'><h4>Verb</h4> (<i>tagg</i>) <li> To label (something). </li> <li> (graffiti) To mark (something) with one’s tag. </li> <li> To remove dung tags from a sheep. </li> <dl><dd><em>Regularly <strong>tag </strong> the rear ends of your sheep. </em> </dd></dl> <li> (transitive, baseball, colloquial) To hit the ball hard. </li> <dl><dd><em>He really <strong>tagged </strong> that ball. </em> </dd></dl> <li> (baseball) To put a runner out by touching them with the ball or the ball in a gloved hand. </li> <dl><dd><em>He <strong>tagged </strong> the runner for the out. </em> </dd></dl> <li> (computing) To mark with a tag (metadata for classification). </li> <dl><dd><em>I am <strong>tagging </strong> my music files by artist and genre. </em> </dd></dl> <li> To follow closely, accompany, tag along. </li> <li>* <strong>1906 </strong>, O. Henry, <em> </em> </li> <dl><dd><i>A tall young man came striding through the park along the path near which she sat. Behind him <strong>tagged </strong> a boy carrying a suit-case. </i></dd></dl> <li> To catch and touch (a player in the game of tag). </li> <li> To fit with, or as if with, a tag or tags. </li> <li>* Macaulay </li> <dl><dd><i>He learned to make long-<strong>tagged </strong> thread laces. </i></dd></dl> <li>* Dryden </li> <dl><dd><i>His courteous host / <strong>Tags </strong> every sentence with some fawning word. </i></dd></dl> <li> To fasten; to attach. </li> <dl><dd>(<i>Bolingbroke</i>) </dd></dl> </div><div class='fifth-Derived terms'><h5>Derived terms</h5> * tag along * tag cloud * tag end * ! * tag out * phone tag * telephone tag </div><div class='third-Etymology 2'><h3>Etymology 2</h3> From (<i>etyl</i>) . </div><div class='fourth-Noun'><h4>Noun</h4> (<i>tagin</i>) <li> A decoration drawn over some Hebrew letters in Jewish scrolls. </li> </div><div class='third-Anagrams'><h3>Anagrams</h3> * ---- </div></cite></div></div></div></div> <!-- /.region --></section> <!-- end main content --> </div><!-- main --> <!-- share,CCfooter --> <footer id="footer-block"> <div class="region region-footer"> <div id="block-block-23" class="block block-block"><!-- ShareThis BEGIN --> <div class="sharethis-inline-share-buttons"></div> <!-- ShareThis END --></div><div id="block-block-2" class="block block-block"><div align="center"> <p><a href="https://creativecommons.org/licenses/by-sa/3.0/"><img src="https://wikidiff.com/static/CC_88x31.webp" width="88px" height="31px" border="0" alt="Creative Commons by-sa 3.0"/></a> Text is available under the <a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution/Share-Alike License;</a> additional terms may apply.<br/> <br/> See <a href="https://wikimediafoundation.org/wiki/Terms_of_Use">Wiktionary Terms of Use</a> for details.</p> </div> </div><div id="block-block-20" class="block block-block"><div align="center"><a href="/privacy-policy">Privacy Policy</a> | <a href="/about-us">About Us</a> | <a href="/contact/contact_us">Contact Us</a></div></div></div> <!-- /.region --></footer></body> </html>