![]() Making the smallest mistake - a misspelling or a missing slash - will cause the computer not to understand your file.There are only a few rules for writing XML, but they cannot be broken.The example I just showed was actually a particular ML: XML.The closing tag means, "I'm now finished telling you who the author is.".The first tag means, "I'm about to tell you who the author is.".For instance, if the author of the article was Bob, I might surround his name with "author" tags: Bob Formatting: To format a piece of content, you surround it with markup tags.Content: In an ML, you just write content as plain text.MLs represent these two sets of information as follows:.the article? where are the paragraph breaks? Formatting: Which part of the text is the title vs.Content: The text of the news article, title, byline, and date.There are two basic sets of information I need to represent.How can an ML store all the data that represents the article?.As an example, let's say that I'm writing a newspaper article.Finally, we will spend most of our time learning HTML, which is actually a more specific version of XML.Then, we will learn the rules of a particular ML: XML.First, we will talk about how MLs work.Today, you will be learning about markup languages (MLs).Do you know any examples of markup languages? - XML, HTML, etc.People can read, write, and understand them quickly and easily.MLs are popular because they are powerful and flexible, yet simple.Another type of language is a markup language (ML), which defines a set of data.Do you know some examples of procedural languages? - C, Java, etc.Some are procedural languages that specify a set of steps-a "procedure"-for the computer to carry out.There are many types of computer languages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |