Posts

PROG1

def aStarAlgo(start_node, stop_node):     open_set = set([start_node])     closed_set = set()     g = {}     parents = {}     g[start_node] = 0     parents[start_node] = start_node     while len(open_set) > 0:         n = None         for v in open_set:             if n is None or g[v] + heuristic(v) < g[n] + heuristic(n):                 n = v         if n == stop_node or Graph_nodes[n] is None:             pass         else:             for (m, weight) in get_neighbors(n):                 if m not in open_set and m not in closed_set:                     open_set.add(m)             ...

HTML CODE PART 6

Image
 HOW TO MAKE AN IMAGE AS LINK IN HTML LINKS links are the structures which connects us to the web of internet  links are like vines which are called blood carrying vessels in our body links also act as the same  links connect us to the different parts of the internet and world wide web  uncountable links are generated everyday its so much in large quantity that we cannot keep the track of how many links are generated every day. IMAGES  An image is a visual representation of something. In information technology, the term has several usages IMAGE AS LINK In some websites we can see that there are many images which acts as a link when we click on that image then that image redirects us to another page and it acts as an external link In many online shopping websites we can see images when we click on them then it takes us to the respective of their pages and gives us information this redirecting of different pages using image is called as image as link. EXAMPLE CODE...

HTML CODE PART 5

Image
 CREATING A TABLE IN HTML TABLE  An HTML structure for creating rows and columns on a Web page. The Table tag defines the overall table and the Table Row (TR) tag is used to build each row. The Table Data (TD) tag defines the actual data. EXAMPLE CODE <html> <title>web page</title> <head><center><h1>excercise 13</h1></center></head> <center> <table border="1"><B> <tr> <th>NAME</th> <th>BRANCH</th> <th>DOB</th> <th>REGESTRATION NUMBER</th> <th>YEAR OF ADMISSION</th> </tr> <tr> <td>ADDAVIYA</td> <td>mechanical</td> <td>22/03/2002</td> <td>202me1821012</td> <td>2018</td> </tr> <tr> <td>ARJUN</td> <td>commercial pratice</td> <td>23/03/2002</td> <td>202cp14458013</td> <td>2018</td> </tr> <tr>...

HTML CODE PART 4

Image
HOW TO MAKE ORDERED & UNORDERED LIST IN HTML What is a list? A record of short pieces of information, such as people's names, usually written or printed with a single thing on each line and often ordered in a way that makes a particular thing easy to find. There are two types of lists.... Ordered list  Unordered list Ordered list   ordered list is a list consisting of numbers, alphabets , roman numbers and many more ... these are very systematic and looks good to see it also helps to keep the records of the list..   Unordered list  unordered list is a list consisting of bullets, shapes , squares , rectangle and many more these and very much similar as ordered lists...  EXAMPLE CODE <html> <title> web page</title> <head><center><h1>excercise 12</h1></center></head> <body> a]excercise  <ul type="dot"><h3> <li>computer science</li> <li>civil engineering</li> ...

HTML CODE PART 3

Image
  ADDING AN IMAGE IN HTML An image is a visual representation of something. In information technology, the term has several usages: 1) An image is a picture that has been created or copied and stored in electronic form. An image can be described in terms of vector graphics or raster graphics. An image stored in raster form is sometimes called a bitmap. An image map is a file containing information that associates different locations on a specified image with hypertext links. Common image file formats online include: JPEG (pronounced JAY-peg) is a graphic image file produced according to a standard from the Joint Photographic Experts Group, an ISO/IEC group of experts that develops and maintains standards for a suite of compression algorithms for computer image files. JPEGs usually have a .jpg file extension. GIF (pronounced JIF by many, including its designer; pronounced GIF with a hard G by many others) stands for Graphics Interchange Format. The GIF uses the 2D raster data type a...

HTML CODE PART 2

Image
USING DIFFERENT TYPES OF FONT STYLES IN HTML   BOLD A set of type characters that are darker and heavier than normal. A bold font implies that each character was originally designed with a heavier appearance rather than created on the fly from a normal character. ITALICS It may be difficult to imagine, but before the use of computers, nearly every document or publication was handwritten or hand set using letterpress (movable type), followed by mechanical typesetting and phototypesetting. In the 21st century, it's easy to italicize individual words and phrases when keyboarding documents. An italic font is a cursive, slanted typeface. A font is a specific size, style, and weight of a typeface used in printing and writing. When we keyboard text, we typically use a roman font, where the text is upright. By comparison, an italic font is slightly slanted to the right, as shown here Organizations, like the American Psychological Association (APA) and the Modern Language Association (MLA) ...

HTML CODE PART 1

Image
ALIGNING THE WORDS. In this example we are going to see the different types of alignments and we will learn how to use them..... WHY ALIGNMENT IS USEFUL IN WEB DESIGN? Alignment is one of those things that comes hand-in-hand when working with grid systems. The subject of alignment isn’t simply a matter of choosing whether or not you want to align text or images to the left or right of a design (though those decisions obviously still matter), instead, we employ alignment to improve our designs. Proper alignment in your designs will make them visually more appealing and will also make it easier for users to scan over a page, sub-consciously also offering a calmer reading experience. All of the elements in your design will have to be aligned in some way, whether this is just plain text on your page, images mixed within the text (or even header or hero images), videos, buttons and call-to-actions, links (within the text or in modules such as a navigation section) or any other elements you ...